npm · @mindstone/mcp-server-email-imap
$npx -y @mindstone/mcp-server-email-imap@0.3.2 EMAIL_IMAP_EMAIL (required) — Email address
EMAIL_IMAP_PASSWORD (required) · secret — App-specific password
EMAIL_IMAP_PROVIDER — Provider — icloud, gmail, yahoo, outlook, or custom (auto-detected from email domain if unset)
EMAIL_IMAP_IMAP_HOST — Custom IMAP host (for provider=custom)
EMAIL_IMAP_SMTP_HOST — Custom SMTP host (for provider=custom)
EMAIL_IMAP_IMAP_PORT — Custom IMAP port
EMAIL_IMAP_SMTP_PORT — Custom SMTP port
EMAIL_IMAP_MAX_RECIPIENTS — 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.
EMAIL_IMAP_RATE_LIMIT_PER_HOUR — Safety cap: maximum email_send calls per rolling window. Defaults to 50; protects against runaway sends when injection content escapes the LLM's intent.
EMAIL_IMAP_RATE_LIMIT_WINDOW_MS — Sliding-window length for the rate limit (ms)
MCP_WORKSPACE_PATH — Workspace directory that email_get_attachment downloads into (fresh email-imap-attachment-* staging directories). Defaults to the system temp directory.