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. 67 installs a week from npm. Last commit 13 Sep 2026.

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

Installs per day peak 36 · avg 11 · +173% w/w
a month agotoday
67
Installs / week
npm · @mindstone/mcp-server-email-imap
12
Stars
1 open issues
13 Sep 2026
Last commit
0 releases in 90 days
License
TypeScript

What the code does

We read the source, 20 h ago · rules 3dff92dd89df

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 -- npx -y @mindstone/mcp-server-email-imap
~/Library/Application Support/Claude/claude_desktop_config.json
{
  "mcpServers": {
    "mcp-server-email-imap": {
      "args": [
        "-y",
        "@mindstone/mcp-server-email-imap"
      ],
      "command": "npx"
    }
  }
}
~/.codex/config.toml
[mcp_servers.mcp-server-email-imap]
command = "npx"
args = ["-y", "@mindstone/mcp-server-email-imap"]
.cursor/mcp.json
{
  "mcpServers": {
    "mcp-server-email-imap": {
      "args": [
        "-y",
        "@mindstone/mcp-server-email-imap"
      ],
      "command": "npx"
    }
  }
}
.vscode/mcp.json
{
  "mcpServers": {
    "mcp-server-email-imap": {
      "args": [
        "-y",
        "@mindstone/mcp-server-email-imap"
      ],
      "command": "npx"
    }
  }
}

This one needs environment variables set before it will start: EMAIL_IMAP_EMAIL (Email address), EMAIL_IMAP_PASSWORD (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.). The author declared them in the registry entry; get the values from the project itself.

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

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

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

75 installs/wk local only
Pylos MCP
by adamvass

Read-focused, prompt-injection-hardened email MCP server for any IMAP provider

50 installs/wk local only
Proton Mail (unofficial)
by sethbang

Unofficial Proton Mail MCP — send, read, search & organize email over SMTP and IMAP

67 installs/wk local only
Microsoft Outlook MCP
by 0xka13b

Microsoft Outlook (mail) MCP server — read, search, and send email through Microsoft Graph.

45 installs/wk local only
Fluxmail
by churichard

Read, search, draft, send, and organize email through Gmail, Outlook, and IMAP/SMTP mailboxes.

402 installs/wk local only
A
Inbox Preview
by powerline

Render HTML/.eml emails in real Gmail, Outlook & Yahoo web clients and screenshot them

4 tools answering
MCP Server Imap
by aiwerk

Email tools for any IMAP/SMTP provider: list, read, search, send, and manage messages.

152 installs/wk local only

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 67 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 with the file path 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 67 times in the last week. Week over week that is +173%. 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, 12 stars on GitHub and 1 open issue, but we could not determine the licence, and without one the code is not open source by default.