Che Apple Mail MCP logo

Che Apple Mail MCP

Native macOS MCP server for searching, reading, composing, organizing, and exporting Apple Mail messages.

Install Che Apple Mail MCP

Run the project’s own setup commands, in order.

Setup steps from the project

che-apple-mail-mcp installs with its own steps rather than a config we can generate, so these are copied as-is. Follow them in order and run the commands in a terminal. Source: github.com

  1. 1. Add to Claude Code
    claude plugin marketplace add PsychQuant/che-apple-mail-mcp
    
  2. 2. Install
    claude plugin install che-apple-mail-mcp@che-apple-mail-mcp
    

Overview

che-apple-mail-mcp connects MCP clients to Apple Mail data and mail operations on macOS through 61 tools. It reads Mail’s SQLite store and .emlx files for fast local search and exports, uses AppleScript for most write actions, and can send or append drafts directly through IMAP and SMTP. Reach for it when an agent needs mailbox management, message search, batch processing, rules, VIPs, or Apple Mail composition. Full Disk Access, Automation, and Accessibility permissions determine which operations work.

Use cases

  • Search large Apple Mail archives by sender, recipient, subject, or date
  • Export batches of messages to Markdown
  • Compose, reply to, or forward messages from an MCP client
  • Manage mailboxes, flags, VIPs, signatures, and rules
  • Send or append drafts without keeping Mail open

Key features

  • SQLite-backed millisecond local search
  • Direct .emlx message parsing
  • Batch operations for up to 50 emails
  • AppleScript-based Mail actions
  • IMAP and SMTP draft transport
  • Mailbox, rule, VIP, signature, and flag management

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked

Recent health check succeeded.

14/14 checks healthy over the last 78d

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

GitHub stars11Stargazers on the source repository.
Last commitTodayMost recent push to the default branch.

How Che Apple Mail MCP works

What che-apple-mail-mcp does

Apple Mail accounts, messages stored on the Mac, and server-side mailboxes become available to MCP clients through a native Swift server. The implementation provides 61 tools covering local message retrieval, SQLite-backed search, email export, composition, replies, forwarding, mailbox changes, flags, VIP contacts, signatures, and mail rules.

The server is designed for macOS 26.0 or newer and uses Swift 5.9. Its fast read path searches Mail’s local SQLite database and parses .emlx message files, while write operations generally drive the Mail application. Batch operations can handle up to 50 emails in one call.

How it works

Read operations access Mail’s local store directly. SQLite search supports fields including subject, sender, recipient, and date, with data freshness determined by Mail’s most recent synchronization. Full Disk Access is required for reliable access to the local store and for batch_export_emails_markdown.

Most changes go through Mail’s AppleScript interface and therefore require Mail to be running. Compose operations also need Accessibility permission. This path covers actions such as composing, replying, forwarding, moving, flagging, and deleting messages.

Two draft operations use mail servers directly: send_draft uses SMTP, and append_draft uses IMAP. These operations do not require Mail to be running, do not apply a Mail signature, and become visible in Mail after its next sync. They require server entries in direct-transport.json and an app-specific password.

Setup and configuration

The packaged plugin is the primary installation route. It includes the signed binary, archive-mail commands, safety rules, and a staleness hook. Install it with:

Terminal
claude plugin marketplace add PsychQuant/che-apple-mail-mcp
claude plugin install che-apple-mail-mcp@che-apple-mail-mcp

After installation, run the setup helper to grant the required macOS permissions:

bash
~/bin/CheAppleMailMCP --setup

An advanced MCP-only installation can build the Swift project in release mode, copy the resulting CheAppleMailMCP binary to a local directory, and register it as a stdio server with claude mcp add. A Developer ID-signed binary is recommended for retaining TCC permissions across rebuilds. Avoid placing the binary in cloud-synced folders because synchronization can cause MCP connection timeouts.

Tools and capabilities

  • Search local Mail data through SQLite, including subject, sender, recipient, and date fields.
  • Read and parse .emlx messages and export email collections as Markdown.
  • Compose, reply to, forward, move, flag, and delete messages through Mail.
  • Send or append drafts through direct SMTP and IMAP transport.
  • Process batches of up to 50 emails per call.
  • Manage mailboxes, rules, VIP contacts, signatures, flag colors, and message metadata.

Limitations and notes

Local reads reflect Mail’s last completed sync rather than necessarily the live server state. Without Full Disk Access, read tools may return little or no data. Mail must be running for most AppleScript-based writes, and compose actions need Accessibility permission.

The direct transport path requires separate configuration and app-specific credentials. It also bypasses Mail signatures. The MCP-only installation excludes the plugin’s archive commands, safety rules, staleness hook, and signed/notarized packaged binary.

Written by AllMCPs with AI assistance from the project’s README and listing data. How we build listings

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about Che Apple Mail MCP

che-apple-mail-mcp is an MCP server that connects AI clients to Apple Mail on macOS. Its main tools search the local SQLite store, read .emlx messages, export email, manage mailboxes and messages, perform Mail actions, and send or append drafts through IMAP and SMTP.

Install the Claude plugin with `claude plugin marketplace add PsychQuant/che-apple-mail-mcp` followed by `claude plugin install che-apple-mail-mcp@che-apple-mail-mcp`. Then run `~/bin/CheAppleMailMCP --setup` to configure macOS permissions.

Full Disk Access is needed for dependable local SQLite reads and Markdown batch exports. Mail must be running for most AppleScript writes, while composing also requires Accessibility permission. The setup helper links to the relevant macOS settings.

Yes, its direct `send_draft` and `append_draft` operations use SMTP and IMAP without requiring Mail to run. They need entries in `direct-transport.json` and an app-specific password, do not apply Mail signatures, and appear in Mail after its next synchronization.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewChe Apple Mail MCP AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/che-apple-mail-mcp?style=directory)](https://allmcps.com/mcp/che-apple-mail-mcp)
HTML Embed
<a href="https://allmcps.com/mcp/che-apple-mail-mcp"><img src="https://allmcps.com/api/badge/che-apple-mail-mcp?style=directory" alt="Che Apple Mail MCP on AllMCPs" /></a>