mcpbeat Sign in

Email (IMAP/SMTP) MCP Server

local only

Email (IMAP/SMTP) runs on your own machine — the client starts it, so there is no endpoint to ping. 156 installs a week from npm. Last commit 2 Nov 2026.

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

Installs per day peak 41 · avg 17 · +103% w/w
a month agotoday
156
Installs / week
npm · @mindstone/mcp-server-email-imap
14
Stars
2 open issues
2 Nov 2026
Last commit
3 releases in 90 days
—
License
TypeScript

What the code does

We read the source, 22 h ago · rules 995398eba69f

A tool parameter reaches a dangerous call

A value the model can set ends up inside a file or shell call. That is not a flaw by itself — for a terminal server it is the job — but it is where things go wrong when it is not.

A tool parameter reaches a file or shell call replace_workspace_document.document_id → connectors/pandadoc/src/tools/documents.ts:891
          fs.writeFileSync(outFd, pdfBuffer);

Is this your server and something here is wrong? Tell us — corrections are free and do not require a plan.

A tool parameter here reaches a dangerous call

That is not a flaw by itself — but it is where things go wrong when it is not the job. We re-read this code on every release. Watch it and you hear from us the day another one appears.

Three servers free · no card

Connect this server

This server runs on your own machine — install it with the package manager and the client starts it for you. Package name taken from the official registry entry.

run in your terminal
claude mcp add mcp-server-email-imap -e 'EMAIL_IMAP_EMAIL=<EMAIL_IMAP_EMAIL>' -e 'EMAIL_IMAP_PASSWORD=<EMAIL_IMAP_PASSWORD>' -- npx -y @mindstone/mcp-server-email-imap
~/Library/Application Support/Claude/claude_desktop_config.json
{
  "mcpServers": {
    "mcp-server-email-imap": {
      "command": "npx",
      "args": [
        "-y",
        "@mindstone/mcp-server-email-imap"
      ],
      "env": {
        "EMAIL_IMAP_EMAIL": "<EMAIL_IMAP_EMAIL>",
        "EMAIL_IMAP_PASSWORD": "<EMAIL_IMAP_PASSWORD>"
      }
    }
  }
}
~/.codex/config.toml
[mcp_servers.mcp-server-email-imap]
command = "npx"
args = ["-y", "@mindstone/mcp-server-email-imap"]
env = { EMAIL_IMAP_EMAIL = "<EMAIL_IMAP_EMAIL>", EMAIL_IMAP_PASSWORD = "<EMAIL_IMAP_PASSWORD>" }
.cursor/mcp.json
{
  "mcpServers": {
    "mcp-server-email-imap": {
      "command": "npx",
      "args": [
        "-y",
        "@mindstone/mcp-server-email-imap"
      ],
      "env": {
        "EMAIL_IMAP_EMAIL": "<EMAIL_IMAP_EMAIL>",
        "EMAIL_IMAP_PASSWORD": "<EMAIL_IMAP_PASSWORD>"
      }
    }
  }
}
.vscode/mcp.json
{
  "servers": {
    "mcp-server-email-imap": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@mindstone/mcp-server-email-imap"
      ],
      "env": {
        "EMAIL_IMAP_EMAIL": "<EMAIL_IMAP_EMAIL>",
        "EMAIL_IMAP_PASSWORD": "<EMAIL_IMAP_PASSWORD>"
      }
    }
  }
}

Put your own values in place of <EMAIL_IMAP_EMAIL> (Email address), <EMAIL_IMAP_PASSWORD> (App-specific password). The author’s registry entry marks them as required.

Optional settings from the registry entry, left out of the block above: 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).

Alternatives to Email (IMAP/SMTP)

same job, measured the same way
Email MCP
by marlinjai

Unified email MCP server for Gmail, Outlook, iCloud, and IMAP with batch operations

531 installs/wk local only
Inbox Triage
by getinboxtriage

Connect Gmail, Outlook, iCloud, Yahoo and IMAP to AI apps in one MCP connection.

answering
Mailera
by mailera

Email for AI agents: read, search and send from your Gmail, Outlook, Yahoo, iCloud or IMAP inbox.

answering
Mailoo - Email MCP Server
by bitfloo

Email MCP server for AI agents: IMAP/SMTP, Gmail, Outlook, calendar, ManageSieve, AI triage, OAuth2.

967 installs/wk local only
Fluxmail Cloud
by fluxmail

Hosted MCP server for your Gmail, Outlook and IMAP mail, with mailboxes and scopes set per agent.

answering
pylos-mcp
by adamvass

Email MCP server for Gmail, Outlook and any IMAP mailbox, hardened against prompt injection

208 installs/wk local only
Aruba Email & Calendar
by jackfioru92

MCP server for Aruba email and calendar via IMAP/SMTP/CalDAV

167 installs/wk local only
GlockApps — Inbox Placement Testing
by glockapps

Inbox placement tests across Gmail, Outlook, Yahoo and 30+ providers.

answering

Email (IMAP/SMTP) — questions

Answers built from our own checks of this server.

Why is there no uptime for Email (IMAP/SMTP)?
Email (IMAP/SMTP) runs on your own machine over stdio — there is no network address to reach, so uptime cannot be measured for it by anyone. What can be measured is adoption: the npm package @mindstone/mcp-server-email-imap was installed 156 times last week.
How do I connect Email (IMAP/SMTP)?
Copy the ready config from this page. We generate it for Claude Code, Claude Desktop, Codex, Cursor and VS Code, each in the form that client actually reads. It runs locally, so the command pulls @mindstone/mcp-server-email-imap straight from npm; nothing to host, nothing to sign up for.
How many people use Email (IMAP/SMTP)?
The npm package @mindstone/mcp-server-email-imap was installed 156 times in the last week. Week over week that is +103%. We show installs rather than GitHub stars on purpose: a star is a bookmark, an install is someone actually running it.
Is Email (IMAP/SMTP) open source?
We cannot say either way: written in TypeScript, 14 stars on GitHub and 2 open issues, but we could not determine the licence, and without one the code is not open source by default.