Mailbridge logo

Mailbridge

Connects AI assistants to iCloud or IMAP email for reading, search, sending, drafting, scheduling, attachments, and inbox management.

Install Mailbridge

Pick your client, then add it in one click or paste the config.

STDIONode.js
~/Library/Application Support/Claude/claude_desktop_config.json
claude_desktop_config.json
{
  "mcpServers": {
    "mailbridge": {
      "command": "npx",
      "args": [
        "-y",
        "mailbridge-mcp"
      ]
    }
  }
}

Settings → Developer → Edit Config, merge this into mcpServers, then fully quit and reopen Claude Desktop.

Claude Code command
claude mcp add --transport stdio mailbridge -- npx -y mailbridge-mcp

Run in your terminal. Add --scope project to share it with your team through .mcp.json.

We couldn’t confirm it starts correctly

We ran the install command but it didn't respond within our test window — this can mean a slow first-time install rather than a real problem.

npx -y mailbridge-mcp

No response to initialize.

This is an experimental automated check and can have false negatives — missing environment variables, a slow cold install, etc. It doesn’t necessarily mean something’s wrong. Last checked .

Overview

The mailbridge MCP server connects AI assistants to iCloud and other IMAP email accounts for reading, searching, sending, replying, and organizing messages. It runs through MCP-compatible clients and stores account credentials in the operating system's credential store rather than a file. Use it when an assistant needs inbox summaries, conversation history, drafts, scheduled delivery, attachment handling, or routine mailbox actions.

Use cases

  • Summarize a busy inbox with priority and category information
  • Search conversations by sender, subject, or keyword
  • Draft, review, schedule, and send replies
  • Inspect attachments and extract calendar events
  • Organize messages across folders and accounts

Key features

  • IMAP and iCloud account access
  • Email search, threads, previews, and contact history
  • Sending, replies, drafts, and scheduled delivery
  • Attachment safety checks and approved file reading
  • Inbox organization and bulk read-status actions
  • OS credential-store storage

Tools46

What Mailbridge lets your agent do. Expand a tool for its parameters.

Self-reported~568 tokens of context

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked

Recent health check succeeded.

25/25 checks healthy over the last 117d

Supply-chain signal

No high-severity advisories surfaced by our automated scan.

Critical 0High 0Medium 0Low 0

Scanned 12d ago via OSV.dev · mailbridge-mcp (npm)

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

GitHub stars2Stargazers on the source repository.
npm downloads524Package downloads in the last 30 days.
Last commit5mo agoMost recent push to the default branch.
Install checkInconclusiveDidn't respond in our test window — often a slow first install.
Tools exposed46Callable tools this server registers over MCP.

How Mailbridge works

What the mailbridge MCP server does

The mailbridge MCP server gives an MCP-compatible assistant access to email accounts hosted on iCloud or other IMAP services. It supports mailbox inspection, message search, conversation retrieval, contact history, folder browsing, and a unified view across folders. Messages can include automatic priority scores and category labels, which can help produce inbox summaries.

Outgoing mail is supported through new messages and replies, with optional file attachments. The server can also save local drafts, send or discard drafts, schedule future delivery, and report read-receipt confirmations when available. Inbox maintenance includes marking messages read or unread, moving messages, moving messages to Trash, and applying bulk read-status changes.

Attachments can be listed before download and are checked for safety. After approval, supported files can be read. Email content can be exported as Markdown, and event details can be extracted from messages or .ics attachments.

How it works

The mailbridge MCP server runs as an MCP process and exposes email operations as tools. A client can test the account connection, retrieve messages from a selected folder, request full bodies by UID, or search by keyword, sender, or subject. Thread and contact-history tools provide broader context than a single-message lookup.

Multiple accounts are supported. Account-management tools can list connected accounts, switch the active account, add another account, or remove accounts. Scheduling and tracking tools maintain pending deliveries and tracked-message open states. The available organization tools also include bulk operations, local rules, reminders, and List-Unsubscribe processing as described by the project documentation.

Setup and configuration

Install through the client-specific method or run the npm package from an MCP client configuration. For a generic client, the server uses the mailbridge-mcp package with an npx command. Cursor configuration uses a stdio entry with npx, and Codex provides marketplace and plugin commands.

On first launch, a browser-based setup form opens when no account is configured. Submitted credentials are stored in the operating system credential store: macOS Keychain, Windows Credential Manager, or Linux Keyring. They are not written to a configuration file. The setup portal can be reopened by asking the assistant to open email setup.

For iCloud, use an Apple app-specific password; the regular Apple ID password will not authenticate. Other IMAP accounts require the full email address, password, and the provider's mail-server settings. The README names Claude, OpenAI Codex, Cursor, and Windsurf as supported clients.

Tools and capabilities

Available operations cover:

  • Connection checks, folder listing, message retrieval, previews, search, threads, contact history, and unified inbox views.
  • Sending, replying, attachments, drafts, scheduled delivery, and open tracking.
  • Read-status changes, folder moves, Trash actions, and bulk mailbox updates.
  • Attachment inspection and approved reading, Markdown export, and calendar-event extraction.
  • Account switching and management through the setup flow.

The project also documents local email rules, follow-up reminders, and automatic unsubscribe handling.

Written by AllMCPs with AI assistance from the project’s README and listing data. How we build listings

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about Mailbridge

mailbridge is an MCP server that connects AI assistants to iCloud and other IMAP email accounts. Its main tools read, search, summarize, send, reply to, draft, schedule, organize, and export email, while also handling approved attachment reading, calendar-event extraction, account switching, and mailbox status changes.

Install it through your MCP client or add `mailbridge-mcp` with `npx` to the client configuration. Cursor uses a stdio server entry, Codex supports marketplace and plugin commands, and the generic npm setup works with MCP clients that accept standard server configurations.

Yes, mailbridge works with Cursor through Cursor Settings → Tools & MCP. Add the provided `npx` configuration, fully restart Cursor because servers load at startup, and start a new chat. If no account is connected, the setup portal opens automatically or can be requested.

Use an Apple app-specific password, not the regular Apple ID password. Open the mailbridge setup portal during first launch or ask the assistant to open email setup, then enter the iCloud account details and generated app-specific password. Credentials are saved in the OS credential store.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewMailbridge AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/mailbridge?style=directory)](https://allmcps.com/mcp/mailbridge)
HTML Embed
<a href="https://allmcps.com/mcp/mailbridge"><img src="https://allmcps.com/api/badge/mailbridge?style=directory" alt="Mailbridge on AllMCPs" /></a>