Mailbridge for Apple Mail
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 for Apple MailRead my latest three emails from my Inbox."
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 for Apple Mail
Use every account already configured in Apple Mail from Codex or Claude Code—locally, without giving another service your email password.
Mailbridge can search and read mail, manage message state, create drafts, and send attachment-free messages and replies. Direct MCP registrations are read-only by default. The bundled Codex and Claude Code plugins use prompted mode, which requires exact-content client confirmation and fails closed when the client cannot render it.
Install
Mailbridge requires macOS, a working account in Mail.app, and Node.js 22 or 24. The marketplace payload is prebuilt, so npm and a source checkout are not required.
Codex
codex plugin marketplace add pooyanmajd/pmtechdev-mcp-plugins --ref v0.4.2
codex plugin add mailbridge-mcp@pmtechdevClaude Code
claude plugin marketplace add pooyanmajd/pmtechdev-mcp-plugins@v0.4.2
claude plugin install mailbridge-mcp@pmtechdevStart a new Codex task after installation. In Claude Code, run /reload-plugins, then use /mcp to confirm the bundled mailbridge server is connected.
Try:
Read my latest three Inbox messages across configured accounts.
Reply to the latest message from Alex and say thanks.
Related MCP server: apple-mail-mcp
Why Mailbridge
Capability | Mailbridge for Apple Mail | Direct IMAP integration |
Uses accounts already configured in Mail.app | Yes | Usually requires separate account setup |
Gives the connector provider passwords or OAuth tokens | No | Usually |
Works across Mail.app providers through one local connection | Yes | Depends on configuration |
Read-only default for direct MCP registration | Yes | Varies |
Exact outbound content confirmed before successful sends in bundled plugins | Yes; unsupported prompts fail closed | Varies |
Platform support | macOS | Varies |
Mailbridge uses local STDIO and Apple Events. It does not read Mail's private database, request Full Disk Access, run a hosted relay, or include telemetry. Selected mail and tool results may still be sent to the model provider configured in the host you choose, so only connect it to a trusted Codex, Claude Code, or MCP host. Read the security model before connecting sensitive accounts.
PMTechDev MCP & Plugins
This repository is also an expandable monorepo, reusable development kit, and Codex and Claude Code marketplace for local-first Model Context Protocol servers and plugins maintained by PMTechDev.
Each integration remains independently buildable under plugins/, while shared safety primitives live under packages/. New integrations start from a tested scaffold instead of rebuilding packaging, policy, CI, and MCP boilerplate from scratch.
Available plugins
Plugin | Purpose | Platforms | Status |
Search, read, manage state, create drafts, and explicitly send through accounts configured in macOS Mail. | macOS |
Mailbridge remains read-only for direct registrations by default. The bundled Codex and Claude Code plugins use client-prompted sending for attachment-free new messages and replies; existing full configurations do not gain send authority.
Repository layout
pmtechdev-mcp-plugins/
├── .agents/plugins/marketplace.json # Codex marketplace catalog
├── .claude-plugin/marketplace.json # Claude Code marketplace catalog
├── packages/
│ └── mcp-kit/ # Reusable safety and queue primitives
├── plugins/
│ └── mailbridge-mcp/ # Independent MCP + Codex/Claude plugin payload
├── templates/
│ └── mcp-plugin/ # Starter copied by the scaffolder
└── scripts/
├── create-plugin.mjs # Generates and registers a plugin
└── validate-workspace.mjs # Validates catalog/package invariantsInstall from a moving marketplace snapshot
The pinned release commands above are recommended. To track the current marketplace snapshot instead, use the following commands.
Codex
Install the current marketplace snapshot:
codex plugin marketplace add pooyanmajd/pmtechdev-mcp-plugins --ref main
codex plugin add mailbridge-mcp@pmtechdevFor the reviewed, immutable release, pin the marketplace to Mailbridge 0.4.2 instead:
codex plugin marketplace add pooyanmajd/pmtechdev-mcp-plugins --ref v0.4.2
codex plugin add mailbridge-mcp@pmtechdevThese commands target Codex CLI. Plugins can also be installed for Codex in the ChatGPT desktop app; they are not currently available in the Codex IDE extension. See the official Codex plugin documentation for supported surfaces. Start a new Codex task or CLI session after installing or updating a plugin so its skills and MCP tools are loaded.
Claude Code
Install the immutable release through the native Claude Code marketplace and plugin manifests:
claude plugin marketplace add pooyanmajd/pmtechdev-mcp-plugins@v0.4.2
claude plugin install mailbridge-mcp@pmtechdevRun /reload-plugins, then use /mcp to confirm the bundled mailbridge server is connected. The Claude registration resolves dist/cli.js through CLAUDE_PLUGIN_ROOT and starts in prompted mode, which fails closed unless Claude Code can display and the user accepts the exact-content send form.
The immutable 0.4.2 release includes the plugin tarball, SHA-256 checksums, a CycloneDX SBOM, and signed GitHub provenance attestations.
Only install Mailbridge in a trusted Codex, Claude Code, or MCP host: the launching host receives macOS Automation authority for Mail. The marketplace configuration uses prompted mode and direct registrations remain read-only by default; selected mail and tool results may still be sent to the model provider configured in that host. Review the Mailbridge security model before connecting sensitive accounts.
Develop the workspace
Requirements are Node.js 22 or 24 and npm. These are the supported LTS lines tested on macOS.
git clone https://github.com/pooyanmajd/pmtechdev-mcp-plugins.git
cd pmtechdev-mcp-plugins
npm ci
npm run checkThe root check enforces coverage thresholds, builds every workspace, validates all plugin and skill metadata, installs the real Mailbridge tarball in a temporary directory, performs MCP initialization plus tools/list without invoking Mail, validates committed plugin bundles, and checks marketplace consistency.
Create the next plugin
npm run create:plugin -- example-mcp
npm install
npm run check -w example-mcp
npm run validate:workspaceThe scaffolder normalizes the name, copies the starter, creates valid Codex, Claude Code, and MCP manifests, adds a safe status tool and skill, and appends complete entries to both marketplace catalogs. Replace the generated placeholder scope with the real integration design before publication.
Reusable primitives are exported by @pmtechdev/mcp-kit:
minimal subprocess environments that avoid inheriting unrelated secrets;
UTF-8 JSON request byte bounds;
bounded FIFO serialization for non-idempotent operations.
Add only broadly reusable, well-tested infrastructure to the kit. Integration-specific policy stays inside its plugin.
Design rules
Local STDIO is the default transport. Remote services must be explicit and documented.
Read-only or least-privilege behavior is the default.
Connected content is untrusted data, not agent instructions.
Secrets never belong in process arguments, logs, committed fixtures, or generated artifacts.
Every search, body, attachment, subprocess, queue, and response is bounded.
Mutations require explicit tools, clear annotations, deterministic tests, and safe retry semantics.
Each plugin remains independently packageable and owns its runtime-specific documentation.
See Contributing, Releasing, Support, Security, Privacy, and Terms. The workspace and bundled plugins are available under the MIT License.
Copyright © 2026 PMTechDev / Pooyan Majd.
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.
Related MCP Servers
- AlicenseAqualityAmaintenanceEnables AI assistants to interact with Apple Mail through natural language, providing comprehensive email management including reading, searching, composing, organizing, and analyzing emails across all configured accounts. Includes an expert skill system that teaches intelligent email workflows and productivity strategies.26191MIT
- AlicenseAqualityAmaintenanceEnables AI assistants to read, send, search, and manage emails in Apple Mail on macOS.2599MIT
- AlicenseAqualityAmaintenanceEnables Claude to control the macOS Mail app for reading, searching, drafting, sending, and managing emails directly from Claude Desktop.12MIT
- Flicense-qualityBmaintenanceEnables Claude to read, search, draft, send, flag, and move email across multiple IMAP/SMTP mailboxes while keeping credentials local.
Related MCP Connectors
Let ChatGPT, Claude & Cursor use your Mac: email, calendar, iMessage, Teams, files. Local, free.
Manage Gmail end-to-end: search, read, send, draft, label, and organize threads. Automate workflow…
Search, read, and write your Apple Notes from ChatGPT/Claude via a local Mac agent + MCP relay.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
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/pooyanmajd/pmtechdev-mcp-plugins'
If you have feedback or need assistance with the MCP directory API, please join our Discord server