An MCP (Model Context Protocol) server providing comprehensive email capabilities via IMAP and SMTP, enabling AI assistants to manage emails across multiple accounts.
From the registry: IMAP/SMTP email MCP server — 47 tools, IMAP IDLE push, multi-account, AI triage.
$ npx @codefuturist/email-mcp setupPlease install the `email-mcp` MCP server into my current AI client (that's you).
Required prerequisites (do these first if not already done):
- **Node.js >= 22** — Requires Node.js 22 or later. (https://nodejs.org/)
- **Run setup wizard** — Interactive wizard to add email accounts (IMAP/SMTP with auto-detection for major providers). Run: `npx @codefuturist/email-mcp setup`
Canonical MCP server config (stdio transport):
- command: `npx`
- args: ["-y","@codefuturist/email-mcp","stdio"]
- optional environment variables:
- `MCP_EMAIL_ADDRESS`: Email address (single-account mode, overrides config file). (example: `<your-email-address>`)
- `MCP_EMAIL_PASSWORD`: Password or app password (single-account mode). (example: `<your-email-password>`)
- `MCP_EMAIL_IMAP_HOST`: IMAP server hostname (single-account mode). (example: `<your-imap-host>`)
- `MCP_EMAIL_SMTP_HOST`: SMTP server hostname (single-account mode). (example: `<your-smtp-host>`)
- `MCP_EMAIL_ACCOUNT_NAME`: Account name. (example: `default`)
- `MCP_EMAIL_FULL_NAME`: Display name. (example: `<your-full-name>`)
- `MCP_EMAIL_USERNAME`: Login username (defaults to email). (example: `<your-username>`)
- `MCP_EMAIL_IMAP_PORT`: IMAP port. (example: `993`)
- `MCP_EMAIL_IMAP_TLS`: IMAP TLS. (example: `true`)
- `MCP_EMAIL_SMTP_PORT`: SMTP port. (example: `465`)
- `MCP_EMAIL_SMTP_TLS`: SMTP TLS. (example: `true`)
- `MCP_EMAIL_SMTP_STARTTLS`: SMTP STARTTLS. (example: `false`)
- `MCP_EMAIL_SMTP_VERIFY_SSL`: Verify SSL certificates. (example: `true`)
- `MCP_EMAIL_RATE_LIMIT`: Max sends per minute. (example: `10`)
Note: Preferred config is TOML at ~/.config/email-mcp/config.toml (multi-account). Env vars support single-account mode. 47 tools, 7 prompts, 6 resources.
Add this MCP server to my current client's config in the correct format for you. If you need secrets or credentials I haven't provided, ASK me — do not invent values or leave raw placeholders. After adding it, tell me how to verify the server is connected.MCP_EMAIL_ADDRESSrequiredEmail addressMCP_EMAIL_PASSWORDrequiredPassword or app passwordMCP_EMAIL_IMAP_HOSTrequiredIMAP server hostnameMCP_EMAIL_SMTP_HOSTrequiredSMTP server hostnameLightweight DMARC parser: auto-fetch email reports, visualize compliance in a single all-in-one app