M

Mail Agent MCP

by SinoEdwards · SinoEdwards/Mail Agent MCP

Enables AI agents to securely interact with Gmail and QQ Mail, including IMAP search/read/organization, attachments, and preview-confirmed sending.

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
PORT No Port for the legacy local setup UI only. Default: 3000
NO_PROXY No Comma-separated hosts that should bypass the proxy. Should include 127.0.0.1 and localhost for the OAuth callback.
HTTP_PROXY No HTTP proxy for Gmail OAuth/token requests. Lowercase variants are also accepted.
HTTPS_PROXY No HTTPS proxy for Gmail OAuth/token requests. Lowercase variants are also accepted.
IMAP_DOWNLOAD_DIR No Root for uploaded and downloaded attachment files. Default: current user's Downloads/imap-attachments directory
IMAP_SPAM_DOMAINS No Comma-separated local spam domain additions.
IMAP_MCP_READ_ONLY No Truthy values (`1`, `true`, `yes`, `on`) expose the 16-tool mailbox-read-only subset. Default: false
IMAP_UPLOAD_TTL_MS No Lifetime of uploaded temporary attachment files. Default: 24 hours
IMAP_MCP_CONFIG_DIR No Optional account-metadata directory override for isolated profiles and clean-room testing. Default: ~/.imap-mcp
IMAP_MCP_MAIL_PROXY No Optional explicit HTTP CONNECT, HTTPS, or SOCKS proxy override shared by IMAP and SMTP transports.
IMAP_MAX_UPLOAD_SIZE No Maximum decoded attachment upload size in bytes. Default: 25 MiB
IMAP_MCP_ENABLED_TOOLS No Comma-separated MCP tool allowlist; names may omit the `imap_` prefix. A non-empty allowlist takes precedence over IMAP_MCP_READ_ONLY.
IMAP_WHITELIST_DOMAINS No Comma-separated local allowlist domain additions.
IPQUALITYSCORE_API_KEY No Referenced by a legacy internal reputation helper, but no currently registered MCP tool calls that helper.
IMAP_SEARCH_ALL_TIMEOUT_MS No Overall cross-folder-search deadline in milliseconds, including folder discovery. Default: 30000
IMAP_SEARCH_FOLDER_TIMEOUT_MS No Per-folder cross-folder-search deadline in milliseconds. Default: 10000

Similar servers