MCP.Market

Mailbox MCP server

by jgalea·io.github.jgalea/mailbox-mcp·v0.13.1·7 stars

Multi-account email MCP server for Gmail, IMAP, and JMAP: search, send, drafts, labels.

B83/100grade B
What users say
No reviews yet
Be the first
Safety scan
B83/100

not scanned yet

Adoption
Growing

7 stars93 downloads/wk

Reviews

Write one

Nobody has reviewed Mailbox yet.

If you have run it, two minutes of your experience saves the next person an afternoon.

Mailbox tools

No tool declarations could be read from the package source. They show once the server is installed.

Not scanned yet. New listings are scanned within a day or two of arriving.

How Mailbox compares

Against every graded Email MCP server, from our own scans and uptime checks. Updated after each scan run.

Safety score
83/100
higher than 75% of 916 Email servers
GitHub stars
7
more than 85% of 493 Email servers
Downloads a week
93
more than 58% of 235 Email servers with a package

Release history: 2 versions in the registry since 2026-06-17, latest 2026-10-10, typically one every 116 days.

Install Mailbox in Claude Code, Cursor or VS Code

Runs npx -y mailbox-mcp on your machine. Read the scan report first; the gateway never runs local packages.

claude mcp add mailbox-mcp -- npx -y mailbox-mcp
Add to Cursor

What the publisher says

From the Mailbox repository's README, as published. We do not edit it. Read it on GitHub

mailbox-mcp

Give your AI tools access to your email. Search, read, send, and manage messages across multiple accounts without leaving your terminal.

mailbox-mcp is an MCP server that connects your email to Claude Code, Cursor, Windsurf, or any AI tool that supports the Model Context Protocol. Instead of switching between your terminal and Gmail, you ask the AI to find that invoice, summarize a thread, or draft a reply — and it does.

What makes this different from the 60+ other email MCP servers:

  • Multiple accounts, one server. Work email, personal email, client accounts — all accessible through a single server. No need to run separate instances.
  • Not just Gmail. Supports Gmail (full API), any IMAP/SMTP provider (ProtonMail, corporate mail, self-hosted), and JMAP (Fastmail, Stalwart, Topicbox). Add providers without changing a line of tool code.
  • Security-conscious. Encrypted credentials (AES-256-GCM), prompt injection fencing on email content, rate limiting, TLS enforcement, SSRF protection with IP encoding evasion detection, input validation.
  • Tools for the workflows that matter. Search, read, send, reply, forward, drafts, labels, filters, templates, signatures, vacation replies, attachments, unsubscribe, and more.
  • Zero native dependencies. Pure Node.js. Install and run anywhere.

Quick Start

Install

Add to your Claude Code MCP config (~/.claude.json). The package runs straight from npm via npx:

{
  "mcpServers": {
    "mailbox": {
      "command": "npx",
      "args": ["-y", "mailbox-mcp"],
      "env": {
        "MAILBOX_MCP_PASSPHRASE": "a-long-random-passphrase"
      }
    }
  }
}

MAILBOXMCPPASSPHRASE is the passphrase used to encrypt IMAP/JMAP credentials at rest; it's required before adding an IMAP or JMAP account, and unused for Gmail-only setups.

From source instead

git clone https://github.com/jgalea/mailbox-mcp.git
cd mailbox-mcp
npm install && npm run build

Then point the config at the build with "command": "node", "args": ["/path/to/mailbox-mcp/dist/server.js"].

Add a Gmail Account

1. Create a Google Cloud project

  1. Go to Google Cloud Console and create a new project
  2. Enable the Gmail API: APIs & Services > Library > Gmail API > Enable

2. Set up OAuth consent screen

  1. Go to Google Auth Platform > Branding
  2. Set App name and User support email
  3. Go to Audience, select External
  4. Add the Google account you'll sign in with as a test user (this must be the exact @gmail.com address you use to authenticate, not a workspace alias)

3. Create OAuth credentials

  1. Go to Google Auth Platform > Clients > Create Client
  2. Application type: Desktop app
  3. Click Create
  4. Go to APIs & Services > Credentials, find your client, and click the download icon to get the JSON
  5. Save the file as ~/.mailbox-mcp/oauth-keys.json

4. Authenticate

In Claude Code, run: authenticate alias="personal" provider="gmail" email="you@gmail.com"

This opens a browser window to complete the OAuth flow. Your tokens are stored locally in ~/.mailbox-mcp/accounts/.

Add an IMAP Account

In Claude Code, run:

Shortened. The full README is on GitHub.

Nothing above is checked by us. What we check is on the safety report.

Mailbox: common questions

Is Mailbox MCP server safe?
Mostly: it is graded B (83/100). Read the Mailbox safety report
How do I install Mailbox?
It runs on your machine. Copy the Claude Code, Cursor, VS Code or Claude Desktop config from the install section.
Does Mailbox need an API key?
Yes. The registry entry asks for MAILBOX_MCP_PASSPHRASE.
Is Mailbox maintained?
The last commit was 62 days ago (2026-09-03). The latest release is v0.13.1.
What can I use instead of Mailbox?
Servers from other publishers that do the same job: Mailoo - Email MCP Server, Inbox Zero MCP server and Google Workspace MCP server. Compare all Mailbox alternatives.
How does Mailbox compare with other Email MCP servers?
safety score 83/100 (higher than 75% of 916 Email servers); github stars 7 (more than 85% of 493 Email servers); downloads a week 93 (more than 58% of 235 Email servers with a package). Full comparison.

Alternatives to Mailbox

Same job from other publishers: the closest match first, then the best rated.

All Mailbox alternatives →
  • Mailoo - Email MCP Server
    Email MCP server for AI agents: IMAP/SMTP, Gmail, Outlook, calendar, ManageSieve, AI triage, OAuth2.
    A
  • Inbox Zero
    Search Gmail and Outlook, save drafts, manage email rules, and view email stats.
    A
  • Google Workspace
    Give AI agents access to Gmail, Calendar, Drive, and more — multi-account, manifest-driven
    A
  • Email
    IMAP/SMTP email MCP server — 52 tools, stdio + HTTP, IMAP IDLE push, multi-account, AI triage.
    B
  • Imap
    IMAP/SMTP MCP server to search, read, organize, send, reply & forward email for AI assistants
    A