Apple Mail MCP logo

Apple Mail MCP

Privacy-first local MCP for Apple Mail on macOS: inbox context, drafts, approvals, and follow-ups.

Install Apple Mail MCP

Pick your client, then add it in one click or paste the config.

STDIONode.js
~/Library/Application Support/Claude/claude_desktop_config.json
claude_desktop_config.json
{
  "mcpServers": {
    "apple-mail-mcp-3": {
      "command": "npx",
      "args": [
        "-y",
        "@jakobf1/apple-mail-mcp"
      ]
    }
  }
}

Settings → Developer → Edit Config, merge this into mcpServers, then fully quit and reopen Claude Desktop.

Claude Code command
claude mcp add --transport stdio apple-mail-mcp-3 -- npx -y @jakobf1/apple-mail-mcp

Run in your terminal. Add --scope project to share it with your team through .mcp.json.

We couldn’t confirm it starts correctly

We hit an unexpected error while testing this listing automatically.

npx -y @jakobf1/apple-mail-mcp

Rate limit exceeded, please try again later - you have reached the maximum number of concurrent E2B sandboxes (20). If you need more, please visit 'https://e2b.dev/docs/billing'

This is an experimental automated check and can have false negatives — missing environment variables, a slow cold install, etc. It doesn’t necessarily mean something’s wrong. Last checked .

Overview

Tools26

What Apple Mail MCP lets your agent do. Expand a tool for its parameters.

Verified live~3.8k tokens of context

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.

13/13 checks healthy over the last 52d

What it can do

From the 26 tools this server returned when we ran it.

Handles credentials · 1Read-only tools · 26
Network at startup3 connections
Files written at startupNone
Install scriptsNone
npm provenanceNot published
Package age26 days
Maintainers1

Observed 2026-11-01 in an isolated sandbox. A description of reach, not a security audit.

Supply-chain signal

No high-severity advisories surfaced by our automated scan.

Critical 0High 0Medium 0Low 0

Scanned 20h ago via OSV.dev · @jakobf1/apple-mail-mcp (npm)

Adoption & maintenance

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

GitHub stars1Stargazers on the source repository.
npm downloads195Package downloads in the last 30 days.
Last commit2mo agoMost recent push to the default branch.
Install checkInconclusiveWe hit an unexpected error running the automated check.
Tools exposed26Callable tools this server registers over MCP.

From the project README

Apple Mail MCP

A local, stdio-based Model Context Protocol server for Apple Mail on macOS.

It talks only to the Apple Mail app already configured on the user's Mac. It does not need IMAP/SMTP passwords or open a network port.

Safety model

  • Mailbox and message tools are read-only by default.
  • create_draft opens an unsent, visible draft in Apple Mail.
  • send_email requires user_approved: true. MCP clients should call it only after the user has approved the exact message.
  • Message changes such as marking, flagging, and moving also require user_approved: true.
  • Dynamic content is passed to osascript as arguments, not interpolated into AppleScript source.
  • Every write action has a local, metadata-only JSONL audit entry. Bodies and credentials are never written to that log.
  • The approval inbox and relationship context are stored only in the local JSON data store described below.

The MCP server itself is local. However, an MCP client may send tool results to an AI model or another service. Only connect clients and models you trust with mail content.

Requirements

  • macOS with Apple Mail configured
  • Node.js 20+
  • Permission for the host application (for example Codex or Terminal) to control Mail under System Settings → Privacy & Security → Automation

Install

npm (recommended)

Terminal
npm install -g @jakobf1/apple-mail-mcp

Then configure your MCP client with the installed command:

config.json
{
  "mcpServers": {
    "apple-mail": {
      "command": "apple-mail-mcp"
    }
  }
}

From source

bash
git clone https://github.com/YOUR_ACCOUNT/apple-mail-mcp.git
cd apple-mail-mcp
npm install
npm run build

Add to an MCP client

If you installed from source rather than npm, use the compiled server over stdio:

config.json
{
  "mcpServers": {
    "apple-mail": {
      "command": "node",
      "args": ["/absolute/path/to/apple-mail-mcp/dist/index.js"]
    }
  }
}

Restart the MCP client after saving its configuration. The first call will trigger the normal macOS automation permission prompt.

Optional sender policy

To allow sending only from specific configured Apple Mail addresses, configure a comma-separated allowlist when launching the server:

config.json
{
  "env": {
    "APPLE_MAIL_MCP_ALLOWED_SENDERS": "hello@example.com"
  }
}

Write-action audit metadata is stored locally at ~/.apple-mail-mcp/audit.jsonl by default. Set APPLE_MAIL_MCP_AUDIT_LOG to use another local path.

AI-first local workspace

The approval inbox and relationship context share a local JSON store at ~/.apple-mail-mcp/data.json by default. It contains queued draft bodies and the contact notes you intentionally save, so treat it as private mail data. Set APPLE_MAIL_MCP_DATA_STORE to use another local path.

APPLE_MAIL_MCP_DRY_RUN=true validates sends but prevents delivery. You can also enforce recipient restrictions with APPLE_MAIL_MCP_ALLOWED_RECIPIENTS, APPLE_MAIL_MCP_ALLOWED_RECIPIENT_DOMAINS, and a local time window such as APPLE_MAIL_MCP_SENDING_WINDOW=09:00-18:00.

Tools

ToolWhat it does
list_accountsLists configured Apple Mail accounts and sender addresses.
list_mailboxesLists the top-level mailboxes in an account.
list_messagesReturns inbox or mailbox summaries without message bodies.
search_messagesSearches recent messages by sender or subject.
get_messageReads one message body by id, with a configurable length limit.
create_draftOpens a visible, unsent outgoing message.
send_emailHands an approved message to Apple Mail for delivery.
create_reply_draftOpens a visible reply draft and preserves Apple Mail's reply recipient/subject handling.
set_message_read_statusMarks one approved message read or unread.
set_message_flag_statusFlags or unflags one approved message.
move_messageMoves one approved message to another mailbox.
get_audit_logReads the local metadata-only audit trail.
get_send_policy / preview_sendInspects or validates the active send safeguards without delivery.
queue_email_for_approval / list_approval_queueStores proposed emails locally for human review.
approve_queued_email / discard_queued_emailApplies an explicitly approved queue decision.
save_contact_context / get_contact_contextMaintains private relationship notes, tone, commitments, and follow-up dates.
get_contact_briefCombines a saved contact profile with recent inbox summaries.
list_follow_up_radarSurfaces saved contacts that are due for a human-approved follow-up.
get_work_mode / set_work_modeSwitches between focused policies such as inbox zero, sales follow-up, support, and deep work.
save_thread_summarySaves a user-approved local thread summary with its source message ids.
get_daily_briefingCombines unread messages, pending approvals, and due follow-ups into a safe daily action brief.

Scope and non-goals

This project is local-only. It is not an SMTP server, does not manage credentials, and does not bypass macOS privacy prompts. It deliberately excludes deletion, attachment export, background scheduling, and automatic sending.

Publishing and registry metadata

The package is published as @jakobf1/apple-mail-mcp. Its MCP Registry identity is io.github.jakobfigur/apple-mail-mcp; see server.json for portable install metadata.

License

MIT

Reviews

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

Frequently Asked Questions about Apple Mail MCP

Apple Mail MCP is an MCP server that provides local, stdio-based access to Apple Mail on macOS for inbox context, drafts, approvals, and follow-ups. It works with the already-configured Mail app, requires no IMAP/SMTP passwords or network port, and keeps mailbox access local. Read-only operations are the default, while sends and other changes require user approval.

Install Apple Mail MCP with npm using `npm install -g @jakobf1/apple-mail-mcp`, then configure your MCP client to run the `apple-mail-mcp` command. You need macOS with Apple Mail configured, Node.js 20 or newer, and permission for the host application to control Mail under System Settings → Privacy & Security → Automation.

Apple Mail MCP does not send email without approval because `send_email` requires `user_approved: true`. The client should call it only after the user approves the exact message. You can also configure sender, recipient, domain, time-window, and dry-run restrictions through the documented environment variables.

Apple Mail MCP supports listing accounts and mailboxes, listing and searching messages, reading a message body, creating drafts and reply drafts, sending approved messages, changing read or flag status, and moving approved messages. Mailbox and message tools are read-only by default, while write actions require user approval and create local metadata-only audit entries.

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 PreviewApple Mail MCP AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/apple-mail-mcp-3?style=directory)](https://allmcps.com/mcp/apple-mail-mcp-3)
HTML Embed
<a href="https://allmcps.com/mcp/apple-mail-mcp-3"><img src="https://allmcps.com/api/badge/apple-mail-mcp-3?style=directory" alt="Apple Mail MCP on AllMCPs" /></a>