Connect AI assitants to any email account — read, search, send, and organise emails via IMAP/SMTP
- ✓Open-source license (MIT)
- ✓Actively maintained (<30d)
- ✓Clear description
git clone https://github.com/Creativestefan/mailbridge-mcpTools overview
# Mailbridge MCP
Connect your AI assistant to your email — read, search, send, reply, organise, draft, schedule, and manage attachments from iCloud or any IMAP account. Works with Claude, OpenAI Codex, Cursor, Windsurf, and any MCP-compatible client.
Credentials are stored securely in your OS credential store (macOS Keychain, Windows Credential Manager, or Linux Keyring) — never in a file.
---
## Features
### Reading & Search
- **Read emails** — fetch inbox, any folder, with subject/sender/date
- **Inbox digest** — smart summary with priority scoring, categories, and action suggestions
- **Search** — find emails by keyword, sender, or subject
- **Thread view** — see the full conversation thread for any email
- **Contact history** — view all emails to/from a specific contact
- **Unified inbox** — merge multiple folders into one date-sorted view
- **Priority scoring** — every email is automatically scored 1–5 for urgency
- **Auto-categorisation** — emails are tagged Finance, Travel, Calendar, Newsletter, and more
### Sending & Drafts
- **Send & reply** — compose new emails or reply with threading
- **Smart drafts** — save emails locally for review before sending
- **Email scheduling** — schedule emails to send at a future time
- **Read receipts** — optionally request confirmation when a sent email is opened (recipient-dependent; see [Read Receipts](#read-receipts))
### Organisation
- **Bulk actions** — mark, move, or delete multiple emails in one command
- **Follow-up reminders** — tag an email "remind me in 3 days" and it surfaces in your next digest
- **Unsubscribe** — auto-unsubscribe from mailing lists via List-Unsubscribe headers
- **Email rules** — define local rules to flag, categorise, or prioritise emails automatically
- **Move, delete, mark** — standard inbox management tools
### Attachments & Content
- **Read attachments** — PDF, DOCX, TXT, JPG, PNG, MP3, MP4 and more
- **Attachment safety** — every attachment is scanned before download; dangerous file types are blocked
- **Export email** — export any email as clean Markdown
- **Calendar extraction** — pull event details (dates, times, locations) from emails and .ics files
### Accounts
- **Multiple accounts** — connect and switch between accounts
- **Secure credentials** — passwords stored in OS keychain, never in plain text
---
## Install
### Claude Cowork
1. Go to **Customize → Connectors → Browse Plugins → "+" sign**
2. Add marketplace source: `https://github.com/Creativestefan/mailbridge-mcp`
3. Start a new chat — and enter `Open Mailbridge setup` to open the setup portal and connect your email account
4. For **iCloud emails** you will need to create an [App specfic password](https://appleid.apple.com/) to access your email securely. Using your real password will fail to authenicate.
5. To reopen setup at any time: **"open Mailbridge setup"**
**To update later:** Customize → Connectors → Browse Plugins → (...) button and Click Check for update
---
### OpenAI Codex
1. Add the Mailbridge marketplace:
```bash
codex plugin marketplace add Creativestefan/mailbridge-mcp --ref main
```
2. Install the plugin:
```bash
codex plugin add mailbridge@mailbridge
```
3. Start a new Codex thread and test:
```
Use Mailbridge to check my email connection.
```
4. If no account is connected yet:
```
Type "Open Mailbridge setup" and send.
```
The setup portal saves credentials directly to your OS credential store (macOS Keychain, Windows Credential Manager, or Linux Keyring).
**To update later:**
```bash
codex plugin marketplace upgrade
codex plugin add mailbridge@mailbridge
```
---
### Cursor
1. Open **Cursor Settings → Tools & MCP**
2. Click **Add MCP Server** and paste:
```json
{
"mcpServers": {
"mailbridge": {
"command": "npx",
"args": ["-y", "mailbridge-mcp@latest"]
}
}
}
```
3. Fully quit and reopen Cursor (MCP servers only load at startup)
4. Start a new chat and test:
```
Use Mailbridge to check my email connection.
```
If no account is connected yet, the setup portal opens automatically — or ask: **"open email setup"**.
**To update later:** bump the version tag in your config to `mailbridge-mcp@latest` — it always pulls the newest release.
---
### Via npm (any MCP client)
Add to your MCP client config (e.g. `claude_desktop_config.json`):
```json
{
"mcpServers": {
"mailbridge": {
"command": "npx",
"args": ["mailbridge-mcp"]
}
}
}
```
On first start, if no account is configured, the setup portal opens automatically in your browser. Fill in your email details — credentials are saved directly to your OS credential store and the portal closes. You only need to do this once.
To reopen setup at any time, ask your assistant: **"open email setup"**
---
## Setup
On first install, a browser form opens automatically to connect your email account. Credentials go directly into your OS credential store on submit — nothing is written to a file.
To reopen setup at any time, just ask your assistant: **"open email setup"**.
### iCloud
You must use an [App-Specific Password](https://account.apple.com) — your main Apple ID password will not work.
Go to **account.apple.com → Sign-In & Security → App-Specific Passwords → +**, name it "Mailbridge", and use the generated password.
### Custom IMAP account
Use your full email address and password. The mail server is usually `mail.yourdomain.com` — check your email provider's settings if unsure.
---
## Tools
### Reading
| Tool | Description |
|------|-------------|
| `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 |
### Attachments
| Tool | Description |
|------|-------------|
| `get_attachments` | List attachments with safety scan — no download |
| `read_attachment` | Download and read an attachment after user approves |
### Sending & Drafts
| Tool | Description |
|------|-------------|
| `send_email` | Compose and send a new email |
| `reply_to_email` | Reply to an existing email |
| `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) |
### Organisation
| Tool | Description |
|------|-------------|
| `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 |
### Rules
| Tool | Description |
|------|-------------|
| `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 |
### Accounts
| Tool | Description |
|------|-------------|
| `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 |
---
## Inbox Summary
Ask your assistant **"catch me up"** or **"what did I miss?"** for a structured digest.
Every email now carries automatic **priority scoring** (1–5) and **category tags** so the digest is sorted instantly:
- 🔴 **Action Required** — priority 4–5 or keywords like "urgent", "deadline", "reply needed"
- 💰 **Finance & Billing** — invoices, payments, subscription renewals
- 📅 **Events & Calendar** — meeting invites, travel confirmations, RSVPs
- 📦 **Updates & FYI** — newsletters, notifications, low-priority
**Follow-up reminders** due today or overdue are surfaced at the top of every digest.
The digest closes with a **suggested actions** block — specific next steps like "unsubscribe from X", "set a reminder on Y", or "bulk archive the 8 newsletters".
---
## Drafts & Scheduling
Save any email as a draft before sending:
> "Draft a reply to this email — I'll review it first"
Schedule an email for later:
> "Send this to john@example.com tomorrow at 9am"
Scheduled emails fire automatically on the next session start after the scheduled time.
---
## Read Receipts
Ask Mailbridge to track when a sent email is opened:
> "Send this to john@example.com and let me know when he opens it"
This sets `request_receipt: true`, which adds standard **read-receipt headers (RFC 8098 / MDN)** to the message. Later:
> "Did John open my email?"
runs `check_email_opens`, which scans your inbox for the recipient's confirmation anWhat people ask about mailbridge-mcp
What is Creativestefan/mailbridge-mcp?
+
Creativestefan/mailbridge-mcp is tools for the Claude AI ecosystem. Connect AI assitants to any email account — read, search, send, and organise emails via IMAP/SMTP It has 2 GitHub stars and was last updated today.
How do I install mailbridge-mcp?
+
You can install mailbridge-mcp by cloning the repository (https://github.com/Creativestefan/mailbridge-mcp) or following the README instructions on GitHub. ClaudeWave also provides quick install blocks on this page.
Is Creativestefan/mailbridge-mcp safe to use?
+
Our security agent has analyzed Creativestefan/mailbridge-mcp and assigned a Trust Score of 79/100 (tier: Trusted). See the full breakdown of passed checks and flags on this page.
Who maintains Creativestefan/mailbridge-mcp?
+
Creativestefan/mailbridge-mcp is maintained by Creativestefan. The last recorded GitHub activity is from today, with 0 open issues.
Are there alternatives to mailbridge-mcp?
+
Yes. On ClaudeWave you can browse similar tools at /categories/tools, sorted by popularity or recent activity.
Deploy mailbridge-mcp to your cloud
Ship this repo to production in minutes. Each platform spins up its own environment with editable env vars.
Maintain this repo? Add a badge to your README
Drop the badge into your GitHub README to show it's tracked on ClaudeWave. Each badge links back to this page and reflects the live Trust Score.
[](https://claudewave.com/repo/creativestefan-mailbridge-mcp)<a href="https://claudewave.com/repo/creativestefan-mailbridge-mcp"><img src="https://claudewave.com/api/badge/creativestefan-mailbridge-mcp" alt="Featured on ClaudeWave: Creativestefan/mailbridge-mcp" width="320" height="64" /></a>More Tools
A single CLAUDE.md file to improve Claude Code behavior, derived from Andrej Karpathy's observations on LLM coding pitfalls.
An AI SKILL that provide design intelligence for building professional UI/UX multiple platforms
🪨 why use many token when few token do trick — Claude Code skill that cuts 65% of tokens by talking like caveman
AI coding assistant skill (Claude Code, Codex, OpenCode, Cursor, Gemini CLI, and more). Turn any folder of code, SQL schemas, R scripts, shell scripts, docs, papers, images, or videos into a queryable knowledge graph. App code + database schema + infrastructure in one graph.
A light-weight and powerful meta-prompting, context engineering and spec-driven development system for Claude Code by TÂCHES.
CLI proxy that reduces LLM token consumption by 60-90% on common dev commands. Single Rust binary, zero dependencies