che-apple-mail-mcp

The most comprehensive Apple Mail MCP server - 61 tools with SQLite-powered millisecond search across 250K+ emails.
An MCP server for your Apple Mail: the accounts set up in Mail, the messages Mail keeps on this Mac, and the mailboxes on your mail servers. It does not always go through the Mail app:
| Path | Used by | Needs |
|---|
Mail's local store (SQLite and .emlx), read directly | reading, searching, exporting | Full Disk Access; data is as fresh as Mail's last sync |
| The Mail app (AppleScript, its compose window) | most writes: compose, reply, forward, move, flag, delete | Mail running; Automation and, for compose, Accessibility |
| The mail server directly (IMAP and SMTP) | send_draft (#742), append_draft (#744) | an entry in direct-transport.json and an app-specific password; Mail need not run, applies no signature, and shows the change after its next sync |
English | 繁體中文
Why che-apple-mail-mcp?
| Feature | Other MCPs | che-apple-mail-mcp |
|---|
| Total Tools | ~20 | 61 |
| Language | Python | Swift (Native) |
| Search Speed | Seconds (AppleScript) | Milliseconds (SQLite) |
| Search Fields | Subject/Sender | Subject/Sender/Recipient/Date |
| Batch Operations | No | Up to 50 emails per call |
| Mailbox Management | Basic | Full CRUD |
| Email Colors | No | 7 flag colors + background |
| VIP Management | No | Yes |
| Rule Management | Partial | Full CRUD |
| Signatures | No | Yes |
| Raw Headers/Source | No | Yes |
Quick Start
Install the plugin. It brings the signed binary, the /archive-mail command
family, the safety rules, and the staleness hook as one unit:
claude plugin marketplace add PsychQuant/che-apple-mail-mcp
claude plugin install che-apple-mail-mcp@che-apple-mail-mcp
Maintainers can run make check-install to verify that these documented public GitHub
marketplaces still list the requested plugins. The Install instructions CI
runs on pull requests, pushes to main, and daily. PR checks use the checkout
manifest only for this repository (--checkout-repo), while external sources
are always fetched remotely; main/scheduled/manual checks inspect published
remote manifests. Thus a coordinated local rename can pass PR review, and changes in an external
marketplace can also be detected. A missing entry or invalid source fails with
INSTALL_RESOLUTION_INVALID (exit 1); bounded network failures report
INSTALL_RESOLUTION_UNCERTAIN (exit 2), also a failing check. Neither is silently
skipped. Unrelated entry metadata is ignored; an unreadable entry name prevents
a definite absence claim when the requested target was not otherwise found.
This checks remote marketplace membership; it does not execute or verify
the Claude loader, download the plugin, or install anything. Offline regression
fixtures run with make test-plugin. The resolver accepts fenced shell commands
using owner/repo or GitHub HTTPS repository sources and plugin@marketplace
install targets; recognized installation-looking commands in unsupported forms
(including wrappers or global options) fail explicitly, as do such commands in
unsupported fence languages or outside a supported fence. Shell continuations
are rejected rather than silently skipped. Installation-looking ANSI-C or locale-translated dollar quoting
is unsupported; variables and fully encoded shell programs are not interpreted.
Console/shellsession fences are supported. The remote check requires curl 8.4.0+ so unknown-length responses are also
bounded; an older or unavailable curl returns exit 2 before downloading. Each source has
at most three attempts, a 10-second request limit and 1 MiB response limit;
README and checkout inputs must be regular files (no final-component symlinks);
reads are bounded before parsing. README input is capped at 1 MiB and each physical or continued logical line at 64 KiB for inspection; all
sources share a 90-second network budget (plus subprocess termination grace).
LF/CRLF lines and tabs are accepted; other control and line-separator characters
are rejected. A published remote manifest may briefly lag a recent update due to
caching or propagation; confirm the remote state and rerun a failed check.
Scheduled monitoring depends on GitHub Actions remaining enabled; it is not a
guarantee that inactive repositories will continue to receive scheduled runs.