# mailbridge [Health: Active]

**Category:** 💬 Communication  
**Repository:** https://github.com/Creativestefan/mailbridge-mcp  
**GitHub Stars:** 2  
**npm Downloads (last month):** 524  
**Views:** 0  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/mailbridge

## Description
Connect Claude to your email — read, search, send, and organise emails via IMAP/SMTP.

## Tools
Capabilities this server exposes over MCP:

- **check_connection** — Test connection and show inbox stats
- **read_emails** — Fetch emails from any folder (includes priority + category)
- **get_email_body** — Get full body of an email by UID
- **get_emails_with_preview** — Fetch emails with body snippets — used for inbox summaries
- **search_emails** — Search by keyword, sender, or subject
- **list_folders** — List all mailbox folders
- **get_thread** — Fetch the full conversation thread for an email
- **get_contact_history** — All emails to/from a specific contact
- **unified_inbox** — Merge multiple folders into one sorted view
- **export_email** — Export an email as clean Markdown
- **extract_calendar_events** — Extract event details and parse .ics attachments
- **get_attachments** — List attachments with safety scan — no download
- **read_attachment** — Download and read an attachment after user approves
- **send_email** — Compose and send a new email (optional file attachments)
- **reply_to_email** — Reply to an existing email (optional file attachments)
- **save_draft** — Save an email as a local draft
- **list_drafts** — List saved drafts
- **send_draft** — Send a saved draft by ID
- **delete_draft** — Discard a saved draft
- **schedule_email** — Schedule an email for future delivery
- **list_scheduled** — List pending scheduled emails
- **cancel_scheduled** — Cancel a scheduled email
- **check_email_opens** — Scan the inbox for read-receipt confirmations and report opens
- **list_tracked_emails** — Show tracked emails and their open status (no inbox scan)
- **mark_as_read** — Mark email as read
- **mark_as_unread** — Mark email as unread
- **move_email** — Move email to another folder
- **delete_email** — Move email to Trash
- **bulk_mark_read** — Mark multiple emails as read
- **bulk_mark_unread** — Mark multiple emails as unread
- **bulk_move** — Move multiple emails to a folder
- **bulk_delete** — Move multiple emails to Trash
- **set_reminder** — Set a follow-up reminder on an email
- **list_reminders** — View active reminders (overdue ones flagged)
- **complete_reminder** — Mark a reminder as done
- **unsubscribe_email** — Auto-unsubscribe via List-Unsubscribe header
- **add_rule** — Add a local rule to flag, categorise, or prioritise emails
- **list_rules** — List all configured rules
- **remove_rule** — Remove a rule by name
- **apply_rules** — Dry-run rules against a set of emails
- **list_accounts** — Show all connected accounts
- **switch_account** — Switch active account
- **add_account** — Add a new account via chat
- **remove_account** — Remove an account (defaults to active)
- **remove_all_accounts** — Disconnect and remove all accounts
- **open_setup** — Open the setup portal to connect or add an account

## Claude Desktop Quick Installation
Install path detected from listing signals. Uses `npx` (confidence: high):

```json
"mcpServers": {
  "mailbridge": {
    "command": "npx",
    "args": ["-y","mailbridge-mcp"]
  }
}
```

## Documentation

## 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.

_Full upstream README: https://allmcps.com/mcp/mailbridge/readme_

