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_PASSWORDEnv var· required· secretApp-specific passwordEMAIL_IMAP_EMAILEnv var· requiredEmail addressEMAIL_IMAP_PROVIDEREnv var· optionalProvider — icloud, gmail, yahoo, outlook, or custom (auto-detected from email domain if unset)EMAIL_IMAP_IMAP_HOSTEnv var· optionalCustom IMAP host (for provider=custom)EMAIL_IMAP_SMTP_HOSTEnv var· optionalCustom SMTP host (for provider=custom)EMAIL_IMAP_IMAP_PORTEnv var· optionalCustom IMAP portDefault:993
Show 5 moreShow fewer
EMAIL_IMAP_SMTP_PORTEnv var· optionalCustom SMTP portDefault:587EMAIL_IMAP_MAX_RECIPIENTSEnv var· optionalSafety 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:25EMAIL_IMAP_RATE_LIMIT_PER_HOUREnv var· optionalSafety cap: maximum email_send calls per rolling window. Defaults to 50; protects against runaway sends when injection content escapes the LLM's intent.Default:50EMAIL_IMAP_RATE_LIMIT_WINDOW_MSEnv var· optionalSliding-window length for the rate limit (ms)Default:3600000MCP_WORKSPACE_PATHEnv var· optionalWorkspace directory that email_get_attachment downloads into (fresh email-imap-attachment-* staging directories). Defaults to the system temp directory.
Links
Listed in the official MCP Registry since Nov 14, 2026. Mirrored daily; last checked Nov 26, 2026.