Mailbridge MCP
Connects to iCloud email accounts via IMAP/SMTP, enabling reading, sending, searching, and organizing emails, including attachments, rules, and scheduling.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Mailbridge MCPread my 5 most recent emails"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
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
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
Related MCP server: Gmail MCP Pro
Install
Claude Cowork
Go to Customize → Connectors → Browse Plugins → "+" sign
Add marketplace source:
https://github.com/Creativestefan/mailbridge-mcpStart a new chat — and enter
Open Mailbridge setupto open the setup portal and connect your email accountFor iCloud emails you will need to create an App specfic password to access your email securely. Using your real password will fail to authenicate.
To reopen setup at any time: "open Mailbridge setup"
To update later: Customize → Connectors → Browse Plugins → (...) button and Click Check for update
OpenAI Codex
Add the Mailbridge marketplace:
codex plugin marketplace add Creativestefan/mailbridge-mcp --ref mainInstall the plugin:
codex plugin add mailbridge@mailbridgeStart a new Codex thread and test:
Use Mailbridge to check my email connection.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:
codex plugin marketplace upgrade
codex plugin add mailbridge@mailbridgeVia npm (any MCP client)
Add to your MCP client config (e.g. claude_desktop_config.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 — 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 |
| Test connection and show inbox stats |
| Fetch emails from any folder (includes priority + category) |
| Get full body of an email by UID |
| Fetch emails with body snippets — used for inbox summaries |
| Search by keyword, sender, or subject |
| List all mailbox folders |
| Fetch the full conversation thread for an email |
| All emails to/from a specific contact |
| Merge multiple folders into one sorted view |
| Export an email as clean Markdown |
| Extract event details and parse .ics attachments |
Attachments
Tool | Description |
| List attachments with safety scan — no download |
| Download and read an attachment after user approves |
Sending & Drafts
Tool | Description |
| Compose and send a new email |
| Reply to an existing email |
| Save an email as a local draft |
| List saved drafts |
| Send a saved draft by ID |
| Discard a saved draft |
| Schedule an email for future delivery |
| List pending scheduled emails |
| Cancel a scheduled email |
Organisation
Tool | Description |
| Mark email as read |
| Mark email as unread |
| Move email to another folder |
| Move email to Trash |
| Mark multiple emails as read |
| Mark multiple emails as unread |
| Move multiple emails to a folder |
| Move multiple emails to Trash |
| Set a follow-up reminder on an email |
| View active reminders (overdue ones flagged) |
| Mark a reminder as done |
| Auto-unsubscribe via List-Unsubscribe header |
Rules
Tool | Description |
| Add a local rule to flag, categorise, or prioritise emails |
| List all configured rules |
| Remove a rule by name |
| Dry-run rules against a set of emails |
Accounts
Tool | Description |
| Show all connected accounts |
| Switch active account |
| Add a new account via chat |
| Remove an account (defaults to active) |
| Disconnect and remove all accounts |
| 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.
Email Rules
Define local rules that apply automatically during inbox summaries:
"Flag all emails from boss@company.com as urgent" "Categorise anything from billing@stripe.com as Finance" "Set priority 5 on emails with 'invoice due' in the subject"
Rules are stored locally — they work without any server-side filtering.
Attachments
Mailbridge scans every attachment before downloading:
Safety | Meaning |
✅ Safe | Known safe file type, extension matches MIME type |
⚠️ Warning | Unrecognised extension or MIME mismatch — will not auto-download |
🚫 Blocked | Executable or script file — refused outright (.exe, .bat, .ps1, .sh, .jar, etc.) |
Supported file types:
Type | What happens |
Text extracted and displayed | |
DOCX | Text extracted and displayed |
TXT, CSV, MD | Displayed as plain text |
JPG, PNG, GIF, WebP | Displayed inline — the AI can see and describe the image |
MP3, MP4, WAV, M4A | Saved to temp path — pass to a transcription plugin |
Supported Providers
Provider | IMAP | SMTP |
iCloud |
|
|
Custom IMAP | Your mail server | Your mail server |
Security
Passwords are stored exclusively in the OS credential store — never written to any file
The setup portal is a one-time browser form — it starts, collects your credentials, saves them to your OS keychain, then shuts down automatically
All IMAP and SMTP connections use SSL/TLS
Attachments are scanned before download — executables and scripts are always blocked
No data is sent to any Mailbridge server — everything runs locally on your device
License
MIT — see LICENSE
Legal
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/Creativestefan/mailbridge-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server