Skip to main content

Email (IMAP/SMTP)

io.github.mindstone/mcp-server-email-imap

v0.3.4Updated Nov 14, 2026stdio · npm

Email IMAP/SMTP MCP server: iCloud, Gmail, Yahoo, Outlook, and custom IMAP providers

Install

Needs 1 secret. Replace 2 placeholders with your own values.

Run in your terminal. Replace 2 placeholders.

claude mcp add mcp-server-email-imap -e 'EMAIL_IMAP_EMAIL=<your-email-imap-email>' -e 'EMAIL_IMAP_PASSWORD=<your-email-imap-password>' -e EMAIL_IMAP_IMAP_PORT=993 -e EMAIL_IMAP_SMTP_PORT=587 -e EMAIL_IMAP_MAX_RECIPIENTS=25 -e EMAIL_IMAP_RATE_LIMIT_PER_HOUR=50 -e EMAIL_IMAP_RATE_LIMIT_WINDOW_MS=3600000 -- npx -y @mindstone/[email protected]

Configuration

11 settings, 1 required secret. Snippets use placeholders; keep real values out of shared config.

  • EMAIL_IMAP_PASSWORD
    Env var· required· secret
    App-specific password
  • EMAIL_IMAP_EMAIL
    Env var· required
    Email address
  • EMAIL_IMAP_PROVIDER
    Env var· optional
    Provider — icloud, gmail, yahoo, outlook, or custom (auto-detected from email domain if unset)
  • EMAIL_IMAP_IMAP_HOST
    Env var· optional
    Custom IMAP host (for provider=custom)
  • EMAIL_IMAP_SMTP_HOST
    Env var· optional
    Custom SMTP host (for provider=custom)
  • EMAIL_IMAP_IMAP_PORT
    Env var· optional
    Custom IMAP portDefault: 993
Show 5 more
  • EMAIL_IMAP_SMTP_PORT
    Env var· optional
    Custom SMTP portDefault: 587
  • EMAIL_IMAP_MAX_RECIPIENTS
    Env var· optional
    Safety cap: maximum combined To+CC+BCC recipients per email_send call. Defaults to 25; raising bypasses spam-prevention guardrails against prompt-injection-driven mass sends.Default: 25
  • EMAIL_IMAP_RATE_LIMIT_PER_HOUR
    Env var· optional
    Safety cap: maximum email_send calls per rolling window. Defaults to 50; protects against runaway sends when injection content escapes the LLM's intent.Default: 50
  • EMAIL_IMAP_RATE_LIMIT_WINDOW_MS
    Env var· optional
    Sliding-window length for the rate limit (ms)Default: 3600000
  • MCP_WORKSPACE_PATH
    Env var· optional
    Workspace directory that email_get_attachment downloads into (fresh email-imap-attachment-* staging directories). Defaults to the system temp directory.

Listed in the official MCP Registry since Nov 14, 2026. Mirrored daily; last checked Nov 26, 2026.