Skip to main content
Glama
DouglasRoux

Email MCP Server

by DouglasRoux

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
EMAIL_ACCOUNTSNoJSON string describing your email accounts, used to pass credentials directly instead of using a config file (e.g. env = { "EMAIL_ACCOUNTS" = "<your-accounts-json>" }).
MCP_EMAIL_ADDRESSNoEmail address of a single account, allowing use of the server without a config file (e.g. you@gmail.com).
MCP_EMAIL_PASSWORDNoPassword (or app password) for the single account configured via MCP_EMAIL_ADDRESS.
EMAIL_MCP_HTTP_HOSTNoAddress to bind when running the Streamable HTTP server. Equivalent to the --host flag; default is 127.0.0.1.127.0.0.1
EMAIL_MCP_HTTP_PATHNoHTTP path serving MCP. Equivalent to the --path flag; default is /mcp./mcp
EMAIL_MCP_HTTP_PORTNoPort to listen on when running the Streamable HTTP server. Equivalent to the --port flag; default is 8080.8080
MCP_EMAIL_IMAP_HOSTNoIMAP host for the single account configured via environment variables (e.g. imap.gmail.com).
MCP_EMAIL_SMTP_HOSTNoSMTP host for the single account configured via environment variables (e.g. smtp.gmail.com).
EMAIL_MCP_HTTP_TOKENNoRequire 'Authorization: Bearer <secret>' on every request. Equivalent to the --token flag.
EMAIL_MCP_HTTP_ALLOWED_HOSTSNoComma-separated Host header allowlist (DNS-rebinding protection); loopback names plus the bind host by default, or '*' to disable the check. Equivalent to the --allowed-hosts flag.

Instructions

Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.

This server publishes no instructions, or was last inspected before Glama recorded them.

Capabilities

Server capabilities have not been inspected yet.

Tools

Functions exposed to the LLM to take actions

NameDescription

No tools

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources