Skip to main content
Glama
EhanAhmed

Email SMTP/IMAP MCP

by EhanAhmed

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
IMAP_HOSTNoIMAP server hostname (e.g., imap.gmail.com).
IMAP_PASSNoIMAP password (alias IMAP_PASSWORD accepted).
IMAP_PORTNoIMAP server port (e.g., 993). Optional.
IMAP_USERNoIMAP username (alias IMAP_USERNAME accepted).
SMTP_HOSTNoSMTP server hostname (e.g., smtp.gmail.com).
SMTP_PASSNoSMTP password (alias SMTP_PASSWORD accepted).
SMTP_PORTNoSMTP server port (e.g., 587). Optional, defaults may apply.
SMTP_USERNoSMTP username (alias SMTP_USERNAME accepted).
IMAP_SECURENoWhether to use TLS (true/false) for IMAP. Optional.
SMTP_SECURENoWhether to use TLS (true/false) for SMTP. Optional.
SENDER_EMAILSNoComma-separated list of allowed sender emails for from_email selection.
EMAIL_ENV_FILENoAbsolute path to an .env file containing the account configuration. The server loads this file and its settings override other environment variables.
DEFAULT_TO_EMAILNoOptional default recipient for testing sends.
DEFAULT_FROM_NAMENoDefault display name for sent emails.
EMAIL_ACCOUNTS_JSONNoJSON string defining named email accounts with SMTP/IMAP settings. Alternatively, use EMAIL_ENV_FILE or SMTP_HOST/SMTP_USER/SMTP_PASS.
DEFAULT_EMAIL_ACCOUNTNoName of the default account to use when no account_name is provided. Optional if EMAIL_ACCOUNTS_JSON is set.

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