M

Mail Smtp MCP

by bradsjm · bradsjm/mail-smtp-mcp

A TypeScript MCP server that enables LLMs to send outbound emails via SMTP with support for attachments and HTML content. It includes outcome-oriented tools for account validation and enforces strict security policies like recipient allowlists and size limits.

Unknown transport Glama Low confidence
Note

Install

No install method is published for this server: no package and no remote endpoint. Check its source repository or registry listing for setup instructions.

Configuration

Environment variables this server reads. Secrets stay on your machine.

NameRequiredDescription
MAIL_SMTP_DEFAULT_FROM No The default sender address to use for this account.
MAIL_SMTP_DEFAULT_HOST Yes The SMTP host for the default account.
MAIL_SMTP_DEFAULT_PASS Yes The SMTP password for the default account.
MAIL_SMTP_DEFAULT_PORT No The SMTP port for the default account. Default: 587
MAIL_SMTP_DEFAULT_USER Yes The SMTP username for the default account.
MAIL_SMTP_SEND_ENABLED Yes Must be set to true to enable outbound email sending. Default: false
MAIL_SMTP_DEFAULT_SECURE No Whether to use TLS for the default account connection. Default: false
MAIL_SMTP_MAX_HTML_CHARS No Maximum characters allowed in the HTML body. Default: 50000
MAIL_SMTP_MAX_RECIPIENTS No Maximum number of recipients per email. Default: 10
MAIL_SMTP_MAX_TEXT_CHARS No Maximum characters allowed in the text body. Default: 20000
MAIL_SMTP_MAX_ATTACHMENTS No Maximum number of attachments per email. Default: 5
MAIL_SMTP_ALLOWLIST_DOMAINS No Comma-separated list of allowed recipient domains (e.g., example.com,example.org).
MAIL_SMTP_MAX_MESSAGE_BYTES No Maximum total message size in bytes. Default: 2500000
MAIL_SMTP_SOCKET_TIMEOUT_MS No Socket timeout in milliseconds. Default: 20000
MAIL_SMTP_CONNECT_TIMEOUT_MS No Connection timeout in milliseconds. Default: 10000
MAIL_SMTP_ALLOWLIST_ADDRESSES No Comma-separated list of allowed recipient email addresses.
MAIL_SMTP_MAX_ATTACHMENT_BYTES No Maximum size of each individual attachment in bytes. Default: 2000000

Similar servers