macos-mail-mcp
Connect Claude to macOS Mail.app through 20 MCP tools for reading, organizing, and composing email.
Inspect accounts with
list_accountsandget_account_detail(server, port, SSL, mailbox count).Manage mailboxes with
list_mailboxes,get_mailbox_info, andcreate_mailboxfor top-level/nested folders; deleting/renaming is unsupported.Read and find mail with
list_messages(pagination/date filters),get_message(optionally across all account mailboxes), andsearch_messagesby subject/sender/content with safeguards and partial-result metadata.Organize messages with
move_message, bulkmove_messages,delete_messageto Trash,flag_messagewith optional color, andmark_read.Handle attachments with
list_attachments,save_attachment,save_all_attachments, andread_attachmentfor supported text files.Compose mail with
send_message(CC/BCC/attachments),reply_to_message(reply/reply-all), andforward_message; optionalfromAccountcontrols sender and results report the actualsender.Works with any account already configured in Mail.app; message IDs are volatile and compose tools confirm queueing, not delivery.
Allows management of emails in Apple's Mail.app on macOS, providing tools for reading, searching, composing, and organizing messages.
Enables interaction with Gmail accounts configured in macOS Mail.app, with tools to read, search, send, and manage emails.
Enables interaction with iCloud Mail accounts configured in macOS Mail.app, with tools to read, search, send, and manage emails.
Click on "Deploy 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., "@macos-mail-mcp Show my unread messages from today"
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.
macos-mail-mcp
An MCP server for Apple Mail (macOS Mail.app) that connects Claude to your email via AppleScript. Provides 20 tools for reading, searching, managing, and composing emails.
Supported Accounts
Works with any email account configured in macOS Mail.app — iCloud, Gmail, Outlook/Exchange, Yahoo, Fastmail, custom IMAP/POP, etc. No code changes needed; just add the account in Mail.app and it becomes available through all 20 tools.
Related MCP server: imail-mcp
Requirements
macOS with Mail.app configured (with at least one email account)
Node.js 22.12+
An MCP client. Claude Code, Claude Desktop and Cowork are the ones set up below; any client that speaks MCP over stdio works.
Installation
Quick Install (npm)
The easiest way — no cloning or building required.
Claude Code and Claude Desktop use separate MCP configs. The
claude mcp addcommand below configures Claude Code only — it writes to~/.claude.json. Claude Desktop and Cowork read a different file (claude_desktop_config.json) and must be configured separately. Set up whichever you use, or both.
Claude Code (CLI):
claude mcp add --transport stdio --scope user macos-mail-mcp -- npx -y macos-mail-mcp@latest--scope user makes the server available in every project — the default local scope only registers it for the directory you run the command in. -y lets npx install the package on first run without an interactive prompt. @latest makes the auto-update behaviour explicit — see Staying up to date.
Claude Desktop (and Cowork):
Add to ~/Library/Application Support/Claude/claude_desktop_config.json:
{
"mcpServers": {
"macos-mail-mcp": {
"command": "/absolute/path/to/npx",
"args": ["-y", "macos-mail-mcp@latest"],
"env": { "PATH": "/absolute/path/to/node/bin:/usr/bin:/bin" }
}
}
}Both paths above are placeholders. Use the absolute path to npx — GUI apps don't inherit your shell's PATH, so a bare "npx" usually fails to launch, and the correct path differs per install. Find yours with which npx:
Apple Silicon Homebrew:
/opt/homebrew/bin/npxIntel Homebrew:
/usr/local/bin/npxnvm:
~/.nvm/versions/node/<version>/bin/npx
The env.PATH entry lets npx locate node for the same reason. Then fully quit Claude (Cmd+Q — closing the window isn't enough) and reopen; the config is only read at startup. If the server doesn't appear, check ~/Library/Logs/Claude/mcp*.log for spawn errors.
Staying up to date
Installed copies update themselves. npx re-resolves the published version every time
the server starts, so a new release is picked up without you touching the config.
@latest in the commands above makes that explicit rather than changing it. Why a bare
package name already re-resolves, why @latest is still worth writing, and what it costs are
in CLAUDE.md,
which the package does not ship.
Two consequences worth knowing:
Updates land at server start, not while it is running. A long-running Claude Desktop keeps serving the version it launched with. Quit and reopen it to pick up a release.
The check is a registry round-trip. With the registry unreachable the server fails to start rather than falling back to the cached copy. That is the price of always-current; pinning a version to avoid it gives up the updates.
What each version changed is in the changelog.
Install from Source
For working on the server itself. This path does not auto-update — it runs whatever
npm run build last produced in your working tree, which is exactly what you want while
developing and not what you want otherwise.
git clone https://github.com/marius-cetanas/macos-mail-mcp.git
cd macos-mail-mcp
npm install
npm run buildThen register with Claude Code. Use a distinct name so the local build does not shadow a published copy you may also have registered:
claude mcp add --transport stdio --scope user macos-mail-mcp-dev -- node /path/to/macos-mail-mcp/build/index.jsOr add to Claude Desktop config (~/Library/Application Support/Claude/claude_desktop_config.json):
{
"mcpServers": {
"macos-mail-mcp-dev": {
"command": "/absolute/path/to/node",
"args": ["/path/to/macos-mail-mcp/build/index.js"]
}
}
}Use the absolute path to node here too (find yours with which node) — same PATH reason as above. Then fully quit and reopen Claude.
macOS Permissions
On first use, macOS will prompt to grant automation permission for controlling Mail.app. Go to System Settings > Privacy & Security > Automation to manage this.
Tools
Accounts (2)
Tool | Description |
| List all mail accounts (name, type, enabled, full name, emails) |
| Get full account details (server, port, SSL, mailbox count) |
Account type is an open string: known IMAP/POP/iCloud/SMTP types use canonical names, and other
raw Mail type text is preserved. Backend-reported unknown remains unknown; the account's name
or email domain is not used to infer Exchange identity.
Breaking account-detail contract: serverName, port and usesSsl can now be null when
unsupported, missing or unavailable. Clients must handle null instead of relying on empty-string,
zero or false defaults. Genuine available values, including SSL false and port 0, are preserved.
Mailboxes (3)
Tool | Description |
| List mailboxes for an account or all accounts |
| Get mailbox details (message count, unread count) |
| Ensure a mailbox exists (top-level or nested), reporting whether it was created or already existed |
For create_mailbox, parentMailboxName can be an existing parent name or full path. The tool
resolves that parent, checks the full slash path within the requested account, and reuses an
existing mailbox or creates an absent one. It returns the full path read back from Mail as
mailboxName, with created: false, alreadyExisted: true for an existing target and
created: true, alreadyExisted: false after creation. Lookup/permission failures return errors.
Omit the parent to address the account directly.
Messages (8)
Tool | Description |
| List messages with pagination (limit/offset) and optional date filtering (after/before) |
| Get full message content, headers, recipients, attachments. Mailbox name is optional — omit to search all mailboxes in the account. |
| Bounded serial search with explicit slow-search opt-in and partial-result metadata; results identify account and full mailbox path |
| Move a message to a different mailbox |
| Bulk move multiple messages to a different mailbox in a single operation |
| Delete a message (moves to Trash) |
| Set/clear flag with optional color index (0-6) |
| Mark message as read or unread |
In get_message results, an absent recipient display name is the empty string in name.
The to/cc/bcc arrays preserve known names, addresses and recipient order.
Every message dateReceived from list/search/get uses UTC ISO 8601 at second precision:
YYYY-MM-DDTHH:mm:ssZ. It identifies an absolute instant for parsing and UTC-aware after/before
inputs; clients can render it in their preferred local timezone. Message-date scripts run in
isolated UTC subprocesses to avoid historical daylight-saving and repeated-clock ambiguity.
Unknown message IDs report plain decimal IDs and the requested account/mailbox, for example
Message 999999999 not found in account "Work", mailbox "INBOX". Account-wide get_message
reports that all mailboxes were searched. Only native missing-object/index errors from the ID
lookup are translated; permission, timeout, mailbox-resolution and later action/property errors
retain their original meaning. Bulk moves preserve per-ID failures and successful move counts.
move_messages validates every ID before looking up mailboxes or moving messages. Its result
reports moved, failed and an errors list containing each failed numeric ID and error text.
Dynamic integer fields use locale-independent decimal digits within JavaScript's safe integer range;
The shared formatter rejects invalid or out-of-range values. Account metadata treats an
unrepresentable port as unavailable and returns port: null.
Search safety and partial results
Breaking search contract: search_messages returns an object instead of an array, and limit
is now capped at 200 (default 50). Subject/sender searches require accountName and mailboxName
by default. A bounded mailbox-info preflight permits at most 1,000 messages; an unavailable or
invalid count requires deliberate allowSlow: true. That opt-in also permits subject/sender
searches across an account or all accounts. mailboxName always requires accountName.
Content searches require both scope names and allowSlow: true. Supply nonblank query text or
an after/before date filter. Date bounds are inclusive.
Search has a 45 second overall server budget, including discovery/preflight, with at most 10 seconds per stage/mailbox. This leaves headroom below the 60 second Cowork client ceiling reported in the original issue. Opting in does not extend these budgets. Mailboxes run serially in discovery order; results retain Mail's order within each mailbox. Duplicate account+message-ID pairs are removed, retaining the first mailbox path; equal IDs in different accounts are distinct.
The response always contains messages, partial, cancelled, limitReached, timedOut,
skipped, errors and warnings. Messages include accountName and the full mailboxName.
timedOut identifies the active scope that exceeded its budget. errors contains operational
failures with scope and message. skipped identifies known scopes not completed/scheduled, with
reason timeout, cancelled, error or limit; discovery failures can leave later scopes unknown.
A scope can have null account/mailbox names for broad discovery. partial means interruption,
an operational failure or skipped scopes. limitReached means the requested cap was reached;
more matches may exist even when partial is false. Invalid requests/count gates are MCP errors;
operational failures return the structured response, preserving earlier results.
The server stops scheduling after the first timeout, cancellation or operational failure. It
honors the MCP request's cancellation signal and terminates its search osascript process. The
SDK suppresses replies after client cancellation, so callers cannot rely on receiving partial
results after cancelling. Queued Apple events inside Mail cannot be cancelled: Mail may keep
working after the process stops. After a timeout, wait for Mail to recover or restart Mail before
retrying; repeated immediate searches can queue more work.
Attachments (4)
Tool | Description |
| List attachments with filename, MIME type, size, download status |
| Save a specific attachment to disk |
| Save all attachments from a message |
| Read UTF-8 attachment text inline using MIME type or a supported text extension |
read_attachment accepts text/* (including text/calendar for .ics), application/json,
application/xml and application/x-yaml, as well as the existing .txt, .csv, .json,
.html, .md, .xml and .log extensions. MIME matching ignores case, surrounding spaces/tabs
and parameters after ;, and requires a valid type/subtype base. If Mail's MIME property is
missing, blank or unavailable, it uses the same filename fallback as list_attachments and
get_message, including .ics → text/calendar. Unsupported-type errors include that effective
MIME type and suggest save_attachment.
Admission uses metadata and filenames; it does not inspect bytes to prove the content is text.
The inline reader supports valid UTF-8, preserves line endings and returns {name, content}.
It does not transcode other charsets, stream content or impose a size cap; use save_attachment
for binary files, other encodings or large attachments.
Both save tools create missing destination directories recursively before contacting Mail.
~ and ~/... expand to the home directory; relative paths resolve from the server's working
directory. Empty/NUL paths, regular-file destinations and failed directory/write/search checks
produce a path-bearing error. Created directories remain if a later Mail operation fails.
The filesystem can change after these checks, and Mail may have different privacy or filesystem
permissions from Node; native save errors still propagate in those cases.
Compose (3)
Tool | Description |
| Send a new email with optional CC, BCC, and attachments |
| Reply or reply-all to a message |
| Forward a message to a new recipient |
All three accept an optional fromAccount to choose which account sends, and report
the account actually used — see Choosing the sending account.
For send_message, attachmentPaths must contain absolute paths to readable regular files;
paths containing CR, LF or NUL are rejected. Every file is checked before composing. The script
checks both the parsed path count and the outgoing content's attachment count against the number
requested before calling send. A mismatch fails without sending; Mail must also return true
from send before the tool reports success. This confirms Mail accepted the send command, not delivery.
Choosing the sending account
By default Mail sends from whichever account is set under Settings → Composing →
"Send new messages from". Pass fromAccount to override it, using either the account
name or any address that account owns (matching is case-insensitive):
{ "to": "client@example.com", "subject": "Invoice", "body": "…",
"fromAccount": "you@work.com" }An unrecognised value is an error listing the accounts you can choose from — it never silently falls back to the default. Only enabled accounts can be selected.
Every compose tool returns the account it actually sent from, whether or not you passed
fromAccount:
{ "success": true, "sender": "Your Name <you@work.com>" }Omitting fromAccount is still the way to accept Mail's own choice; the sender in the
result tells you what that choice was, so a wrong sending account is visible immediately
rather than only discoverable later in the Sent mailbox.
On reply_to_message and forward_message, note that accountName is not a sender
selector — it identifies where the source message lives. Use fromAccount to control
who the reply or forward comes from.
Architecture
Three layers, and the boundary between them is what keeps shell and AppleScript injection out.
Tools (*.tools.ts) validate input with Zod and register with MCP. The bridge
(bridge/applescript-runner.ts) loads a template, substitutes parameters with escaping, prepends
the shared escapeForJson handler and runs osascript, never a shell. Scripts
(*.applescript) are templates with {{param}} placeholders that return JSON. Handlers never
build script text themselves. The source tree and how to add a tool are in
CONTRIBUTING.md,
which the package does not ship either.
Known Limitations
AppleScript Foundation
This MCP communicates with Mail.app via AppleScript, which is a stable but legacy automation layer. Mail.app's scripting dictionary has been largely unchanged for years, but future macOS updates could require script adjustments. This is an inherent trade-off of the approach — AppleScript is the only officially supported way to automate Mail.app without writing a native plugin.
Performance
Large mailbox searches — Mail's
whosequery may scan/load matches before applying the result limit. The search safeguards refuse risky defaults, bound server waiting and retain completed scopes; they cannot cancel Apple events already queued inside Mail. Opted-in searches can still leave Mail busy after the tool stops.IMAP attachment downloads — Attachments on IMAP accounts may not be downloaded locally. The tools check download status and report clearly when an attachment needs to be opened in Mail.app first.
Message IDs
Mail.app's internal message IDs are volatile — they can change when the app reindexes, or after move/delete operations. This means multi-step workflows (e.g., list → flag → move) should re-fetch message IDs between mutations. For single-step operations this is not an issue.
Provider-Specific Behavior
Account connection details — Server getters are used for reported IMAP/POP/iCloud/SMTP types; other types return null connection fields. The Mail dictionary inspected for this change declares pop/smtp/imap/iCloud/unknown, with no Exchange enumerator. If a backend reports Exchange as unknown, that value remains unknown; other raw type strings are preserved. Native Exchange/provider account retrieval has not been exercised by the local fixture tests.
Gmail labels —
move_messageadds the destination label but may not remove the original (Gmail uses labels, not folders).
Other Limitations
Attachments on replies/forwards — AppleScript does not support adding new attachments to reply/forward messages (Mail.app limitation).
MIME type detection — Uses the same extension fallback for list/get/read when Mail.app's native MIME property is missing, blank or unavailable. It does not identify content from file bytes.
Mailbox management — Creating mailboxes is supported, but deleting and renaming mailboxes is not possible via AppleScript (Mail.app limitation).
Known issues
An end-to-end run of every tool against 2.0.0 filed twelve findings, #84 to #95; 2.1.0 changed nothing in the server. The current source inserts reply/forward text and validates readback (#84), and validates multiple attachment paths and prepared attachment counts (#85). File reads now preserve valid UTF-8 text, line endings and trailing newlines (#86), and numeric JSON formatting preserves mixed move results under comma-decimal coercion (#87). Nested mailbox creation uses resolved full paths at the account and validates path readback (#88); existing targets are reused with explicit status metadata (#89). Executable AppleScript helper tests and Mail dictionary compilation cover these changes. Native Mail content insertion, attachment enumeration and delivery still require an end-to-end check. Inline attachment reading now accepts supported MIME types and shared filename fallbacks (#94); native Mail attachment retrieval remains unexercised by fixture tests. Other findings are in the open issues.
Roadmap
get_thread— Retrieve all messages in a conversation thread. Mail.app has no native threading support; implementation would require parsing RFC headers (Message-ID,In-Reply-To,References) which is slow on large mailboxes. Not scheduled: 2.0.0 and 2.1.0 shipped without it.
Development
npm run dev # Watch mode (TypeScript compiler)
npm test # Run tests
npm run test:coverage # Tests + coverage report
npm run test:watch # Watch mode tests
npm run build # Build for productionThe suite covers src/ fully, and vitest.config.ts enforces 100% statement,
branch, function and line thresholds. CI runs test:coverage, so new code
without tests fails the build.
On macOS, tests/domains/compose/send-attachments.applescript.test.ts executes the production
attachment path parser and count/send guards and compiles the complete send template with its
shared handlers. It never creates or sends a Mail message. These executable AppleScript checks
are skipped on other platforms; the template wiring assertions still run there.
tests/bridge/read-utf8-file.applescript.test.ts executes the production body, attachment-path,
attachment-name and inline-content reads against local UTF-8 fixtures, checking JSON roundtrips
for LF, CRLF, CR, trailing newlines, empty files, Unicode, controls and BOMs. It also compiles all
affected templates. These macOS checks do not exercise Mail's attachment saving, content insertion
or delivery; other encodings and binary content are outside the UTF-8 reader's contract.
tests/bridge/integer-for-json.applescript.test.ts executes numeric formatting and partial move
result assembly with large IDs, audits every dynamic integer JSON field, and compiles all domain
templates. Its macOS checks use pure serialization fixtures; native Mail lookups and moves remain
unexercised.
tests/domains/mailboxes/create-mailbox.applescript.test.ts executes production path construction
and readback guards and compiles the complete creation template. It executes the production
existence/status branches and response assembly with fixture Mail primitives, checking existing/new
statuses and lookup/creation errors. Native mailbox creation and provider behavior remain unexercised.
tests/domains/messages/recipient-names.applescript.test.ts executes both production recipient
serializers and message JSON assembly using local recipient records, and compiles both lookup
templates. It does not read native Mail messages.
tests/domains/accounts/account-metadata.applescript.test.ts executes production type mapping and
account JSON with local records/getter fixtures, checks unavailable metadata and supported values,
and compiles both account templates. It does not query native accounts. SMTP server settings are
declared by Mail's dictionary; this does not establish that SMTP servers appear in account queries.
Search controller tests use fake clocks/bridge calls to exercise budgets, count gates, partial results and SDK cancellation. Bridge tests verify abort checks, search-process SIGKILL options and temp cleanup; the search template's pure guards execute and its complete script compiles. These checks do not run native Mail searches or demonstrate cancellation of queued Apple events.
tests/bridge/date-to-utc-iso.applescript.test.ts executes production date formatting with actual
AppleScript dates at known instants, including historical DST, both fall-back occurrences,
negative/zero epochs, offsets and year boundaries in English/Romanian process locales. It checks
getter/JSON and filter reconstruction; registered/caller tests verify selective UTC environments
and timestamp/error propagation. All shared script contexts compile. Native Mail date reads and
provider behavior remain unexercised; host, Node and Mail timezone settings are unchanged.
tests/domains/messages/attachment-mime.applescript.test.ts executes the production MIME helpers,
all three metadata loops and the inline-read flow with local lookup/save fixtures. It checks MIME
case/parameters/fallbacks, every existing extension mapping, admission before saving, UTF-8/JSON
readback, errors and temp cleanup. All shared template contexts compile, and registered-tool tests
cover result/error propagation. These checks do not read or save native Mail attachments.
tests/bridge/resolve-message.applescript.test.ts executes production lookup/error boundaries,
account-wide search and partial bulk-move flows with replaced Mail transport, and audits all
13 lookup sites. tests/domains/messages/save-directory.test.ts prepares real local directories
and executes the save-path initialization/JSON expressions with special-character paths.
Registered-tool tests cover path and message errors; all shared contexts compile. These checks
do not perform native Mail lookups, moves or attachment saves, and do not prove Mail permissions.
Changelog
Every version's changes are in CHANGELOG.md. It ships inside the npm package, so
an installed copy carries its own version's entries alongside its package.json; and each
GitHub release from 2.1.0 on opens its notes with that version's section, the commit list folded
beneath — when the section was recorded before the tag, which is the procedure here; a version
recorded late, as 1.3.1 was, gets the commit list alone. The 2.0.0 major changed only the Node.js
floor — the server itself was unchanged — which is the kind of fact this file exists to say, and
the reason it now ships (#96).
License
MIT
Available Tools
20 toolscreate_mailboxA
Ensure a mailbox (folder) exists in a Mail.app account. For nesting, resolve the parent and use its full slash path at the account. Returns the full path read back from Mail and explicit created/alreadyExisted booleans; an existing mailbox is reused.
Inputs: accountName (required), mailboxName (required), parentMailboxName.
delete_messageA
Delete a message. Uses Mail's delete verb which routes to the correct Trash.
Inputs: messageId (required), accountName (required), mailboxName (required).
flag_messageB
Set or clear the flag on a message. Optionally specify a flag colour index.
Inputs: flagged (required), messageId (required), accountName (required), mailboxName (required), +1 more.
forward_messageA
Forward an existing email message to a new recipient. Returns the sender the forward was sent from. Does not support adding new attachments (Mail.app limitation).
Inputs: to (required), messageId (required), accountName (required), mailboxName (required), +2 more.
get_account_detailB
Get detailed information about a specific Mail.app account by name. Unavailable serverName, port and usesSsl values are null; account type preserves raw Mail values beyond known canonical types.
Inputs: accountName (required).
get_mailbox_infoB
Get detailed information about a specific mailbox in a Mail.app account
Inputs: accountName (required), mailboxName (required).
get_messageA
Get the full details of a single message by its ID, including body, headers, recipients, and attachments. If mailboxName is omitted, searches all mailboxes in the account (slower but useful when you don't know which mailbox the message is in).
Inputs: messageId (required), accountName (required), mailboxName.
list_accountsA
List all Mail.app accounts with their type, enabled status, and email addresses. Known types are canonicalized; other raw Mail type text is preserved, including backend-reported unknown.
Inputs: no named parameters.
list_attachmentsA
List all attachments for a message, including their name, MIME type, file size, and download status.
Inputs: messageId (required), accountName (required), mailboxName (required).
list_mailboxesA
List mailboxes in a Mail.app account, or all mailboxes across all accounts
Inputs: accountName.
list_messagesB
List messages in a mailbox with pagination. Provide accountName and mailboxName to scope the listing.
Inputs: accountName (required), mailboxName (required), after, limit, +2 more.
mark_readB
Mark a message as read or unread.
Inputs: read (required), messageId (required), accountName (required), mailboxName (required).
move_messageA
Move a message to a different mailbox. Gmail uses labels rather than folders. Moving a message adds the destination label but may not remove the original.
Inputs: messageId (required), toMailbox (required), accountName (required), mailboxName (required).
move_messagesA
Move multiple messages to a different mailbox in a single operation. More efficient than calling move_message multiple times.
Inputs: toMailbox (required), messageIds (required), accountName (required), mailboxName (required).
read_attachmentA
Read valid UTF-8 attachment text inline. Accepts text/*, application/json, application/xml, application/x-yaml MIME types or .txt, .csv, .json, .html, .md, .xml, .log extensions. Uses extension-based MIME fallback when unavailable. Use save_attachment for binary files.
Inputs: messageId (required), accountName (required), mailboxName (required), attachmentName (required).
reply_to_messageA
Reply to an existing email message. Returns the sender the reply was sent from. Does not support attachments (Mail.app limitation).
Inputs: body (required), replyAll (required), messageId (required), accountName (required), +2 more.
save_all_attachmentsB
Save all downloaded attachments from a message to disk. Creates the destination directory recursively before contacting Mail.
Inputs: messageId (required), accountName (required), mailboxName (required), savePath.
save_attachmentA
Save a specific attachment from a message to disk. Creates the destination directory recursively before contacting Mail.
Inputs: messageId (required), accountName (required), mailboxName (required), attachmentName (required), +1 more.
search_messagesA
Search one mailbox safely by default. Broad, content or large-mailbox searches require explicit allowSlow. Returns an object with messages and partial/timeout/skipped/error metadata within a 45 second server budget. Mail's queued Apple events can outlive process cancellation; wait or restart Mail after a timeout.
Inputs: field (required), after, limit, query, +4 more.
send_messageA
Compose and send a new email message as plain text. Returns success when the message is queued for sending, along with the sender the message was sent from; actual delivery is not confirmed. Check Mail's Sent or Outbox mailbox to verify delivery.
Inputs: to (required), body (required), subject (required), cc, +3 more.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 20 tools
Each tool targets a distinct resource+action, and singular/plural pairs (move_message vs move_messages, save_attachment vs save_all_attachments) are clearly differentiated by their descriptions. The only real overlap is list_messages versus search_messages (and get_message's fallback that scans all mailboxes), which could occasionally cause misselection when an agent just wants to find a message.
Nearly everything follows a predictable snake_case verb_noun pattern (list_accounts, get_message, move_message, save_attachment, reply_to_message). The one deviation is mark_read, which uses verb_adjective rather than verb_noun, though its meaning remains obvious.
20 tools is on the heavy side of the typical 3-15 band, but for a full email client each tool maps to a real operation (account, mailbox, message, attachment, and compose surfaces). Nothing looks redundant enough to cut outright, so the surface is scoped reasonably.
Message lifecycle is well covered (list, search, get, send, reply, forward, move, flag, mark_read, delete) along with attachment handling. However, the mailbox lifecycle is partial — create_mailbox exists with no delete_mailbox or rename_mailbox — and there is no draft/update-message support or batch flag/delete, leaving notable dead ends for common workflows.
Maintenance
Related MCP Connectors
Read, search and manage iCloud Mail, Calendar and Contacts from Claude and other MCP clients.
Email infrastructure for AI agents — send, receive, search, and reply to email over MCP.
Your IMAP mailbox as an MCP server: read, search and (if you allow it) organize mail. Open source.
A MCP server for Gmail that lets you search, read, and draft emails and replies.
Related MCP Servers
- AlicenseAqualityCmaintenanceMCP server that gives Claude and other MCP hosts full access to Mail.app on macOS — search, read, send, reply, flag, move, and more across all accounts configured in Mail.app.2478 npm1MIT
- AlicenseBqualityDmaintenanceMCP server that connects Claude to iCloud Mail, enabling reading, searching, sending, and organizing emails via IMAP/SMTP.14PolyForm Noncommercial 1.0.0
- AlicenseAqualityDmaintenanceA read-only MCP server that lets Claude Desktop interact with Apple Mail on macOS via AppleScript. It enables listing mailboxes, searching emails, and reading email content without making network calls.3MIT
- AlicenseAqualityBmaintenanceAn MCP server that provides programmatic access to Apple Mail, enabling AI assistants like Claude to read, send, search, and manage emails on macOS.25MIT