1. Conduid
  2. Developer Tools
  3. Apple Mail MCP
MCP server · Developer Tools

Apple Mail MCP

Apple Mail MCP server with full-coverage FTS5 body search. Reliable on large mailboxes where AppleScript-based servers timeout.

71Good

Scored 8 hours ago · breakdown

About Apple Mail MCP

Apple Mail MCP is an MCP server published by imdinu in the Developer Tools category: apple Mail MCP server with full-coverage FTS5 body search. Reliable on large mailboxes where AppleScript-based servers timeout. Conduid read 8 tools from its source: get_attachment, get_email, get_email_attachment, get_email_links, get_emails, list_accounts and 2 more. It is published to PyPI as apple-mail-mcp and runs with uvx.

The repository has 77 stars and 35 forks, is licensed GPL-3.0, and its last commit was on 1 Dec 2026. The latest release is v0.5.0 (14 Sep 2026). It follows v0.4.3 (30 Jul 2026), and the 5 most recent releases go back to v0.4.0 (28 May 2026). It passes 5 of the 6 static checks Conduid ran on the repository; it does not pass Scoped permissions. Its topics include devtools, macos, fts5, jxa, email and apple-mail.

Install

uvx
uvx apple-mail-mcp
pip
pip install apple-mail-mcp
From source
git clone https://github.com/imdinu/apple-mail-mcp

Tools (8)

get_attachmentDEPRECATED: Use get_email_attachment() or get_email_links().
ParameterTypeDescription
accountstringAccount name (optional)
filenamestringAttachment filename to extract. If omitted, returns links instead.
mailboxstringMailbox name (optional)
message_id *integerThe email's unique ID
get_emailGet a single email with full content.
ParameterTypeDescription
accountstringOptional hint (speeds up lookup, not required)
mailboxstringOptional hint (speeds up lookup, not required)
message_id *integerThe email's unique ID (from search results)
get_email_attachmentExtract a file attachment from an email and save to disk.
ParameterTypeDescription
accountstringAccount name (optional, speeds up lookup)
filename *stringAttachment filename to extract
mailboxstringMailbox name (optional, speeds up lookup)
message_id *integerThe email's unique ID
get_email_linksExtract hyperlinks from an email's HTML content.
ParameterTypeDescription
accountstringAccount name (optional, speeds up lookup)
mailboxstringMailbox name (optional, speeds up lookup)
message_id *integerThe email's unique ID
get_emailsGet emails from a specific mailbox with optional filtering.
ParameterTypeDescription
accountstringAccount name. Uses APPLE_MAIL_DEFAULT_ACCOUNT env var or first account if not specified.
filteranyFilter type: - "all": All emails (default) - "unread": Only unread emails - "flagged": Only flagged emails - "today": Emails received today - "last_7_days": Emails received in the last 7 days - "this_week": Alias for last_7_days
limitintegerMaximum number of emails to return (default: 50)
mailboxstringMailbox name. Uses APPLE_MAIL_DEFAULT_MAILBOX env var or "Inbox" if not specified.
list_accountsList all configured email accounts in Apple Mail.
list_mailboxesList all mailboxes for an email account.
ParameterTypeDescription
accountstringAccount name. Uses APPLE_MAIL_DEFAULT_ACCOUNT env var or first account if not specified.
searchSearch emails across all accounts and mailboxes.
ParameterTypeDescription
accountstringFilter to specific account name (optional).
afterstringInclude only emails on/after this date (YYYY-MM-DD).
beforestringExclude emails on/after this date (YYYY-MM-DD).
exclude_mailboxesarrayMailboxes to exclude (default: ["Drafts"]). A name excludes every mailbox it matches — full path, folder name, and everything below either.
highlightbooleanWrap matched terms in **markers** in subject and content_snippet (default: False).
limitintegerMaximum results (default: 20)
mailboxstringFilter to specific mailbox (optional). A full path ("Archive/2025"), a parent holding no mail itself ("[Gmail]" searches its subfolders), or a bare folder name ("2025") if only one mailbox has it. Case-insensitive.
offsetintegerSkip first N results for pagination (default: 0)
query *stringSearch keywords (2-3 specific terms work best). Do NOT use long natural-language phrases.
scopeanyWhere to search: - "all": Subject + sender + body (default, recommended) - "subject": Subject line only - "sender": Sender name/email only - "body": Body text only - "attachments": Attachment filenames

Security checks

Static checks derived from the repository 10 days ago. Heuristics on the source, not an audit.

  • ✓README presentThe repository's README runs to about 651 words.
  • ✓License declaredThe repository declares the GPL-3.0 license.
  • ✓Tests presentA test suite exists in the repository.
  • ✓Dependencies pinnedDependency versions are pinned by uv.lock.
  • ✓No dynamic code executionScanned 19 source files and found no eval, dynamic Function or shell execution.
  • !Scoped permissionsDoesn't declare a permission scope. Assume it can do anything its process can.

What the source scan found

Transport
stdiosrc/apple_mail_mcp/server.py:1677
Starts other programs
2 callssrc/apple_mail_mcp/executor.py:109, src/apple_mail_mcp/executor.py:187
Outbound network calls
No outbound network calls
Writes or deletes files
3 callssrc/apple_mail_mcp/cli.py:679, src/apple_mail_mcp/server.py:186, src/apple_mail_mcp/server.py:1287
Lockfile
uv.lock

Pattern matches on the source text of 19 files: places to read, not proof of what the code does at run time.

Releases

v0.5.0v0.5.0 — Apple Mail MCP · 14 Sep 2026What's Changed fix: distinguish an unusable search index from a genuine no-match (#110) by @chrisjackson-coding in https://github.com/imdinu/apple-mail-mcp/pull/111 fix: excluded-account response oracle in search() + no-index writer lock…
v0.4.3v0.4.3 — Apple Mail MCP · 30 Jul 2026What's Changed fix: single-writer index lock for concurrent server instances (#106) by @imdinu in https://github.com/imdinu/apple-mail-mcp/pull/108 Full Changelog: https://github.com/imdinu/apple-mail-mcp/compare/v0.4.2...v0.4.3
v0.4.2v0.4.2 — Apple Mail MCP · 2 Jul 2026What's Changed Fix get_emails() returning [] for Gmail-backed accounts (label-based mailbox membership) by @scottwb in https://github.com/imdinu/apple-mail-mcp/pull/103 Account-level index exclusion (APPLE_MAIL_INDEX_EXCLUDE_ACCOUNTS) &…
v0.4.1v0.4.1 — Apple Mail MCP · 12 Jun 2026What's Changed 0.4.1: hardening — CI test gate, watcher transaction safety, input validation by @imdinu in https://github.com/imdinu/apple-mail-mcp/pull/101 Full Changelog: https://github.com/imdinu/apple-mail-mcp/compare/v0.4.0...v0.4.1
v0.4.0v0.4.0 — Apple Mail MCP · 28 May 2026What's Changed 0.4.0: Configuration & Privacy by @imdinu in https://github.com/imdinu/apple-mail-mcp/pull/91 Full Changelog: https://github.com/imdinu/apple-mail-mcp/compare/v0.3.3...v0.4.0

README

The repository's README runs to about 651 words, fetched a month ago. The original in the repository is authoritative.

Read full README
Questions

About Apple Mail MCP

How do I install Apple Mail MCP?

Run uvx apple-mail-mcp, then add the server to your MCP client's configuration.

Is Apple Mail MCP safe to use with an AI agent?

Its trust score is 71 out of 100 (good). It passes 5 of the 6 static checks Conduid ran on the repository; it does not pass Scoped permissions. Conduid's scan of 19 source files found that it serves MCP over stdio, starts other programs (2 calls) and writes or deletes files (3 calls). Its dependencies are pinned by uv.lock. It has no ConduID identity yet, so agent calls to it are not receipted.

Is Apple Mail MCP still maintained?

Yes — the latest release is v0.5.0 (14 Sep 2026), and the last commit was 17 hours ago. The repository has 77 stars and 29 open issues.

What tools does Apple Mail MCP provide?

Conduid read 8 tools from the source: get_attachment, get_email, get_email_attachment, get_email_links, get_emails, list_accounts, list_mailboxes and search. 7 of them publish their parameters, listed under Tools above.

What license is Apple Mail MCP released under?

The repository declares the GPL-3.0 license. That applies to the latest release, v0.5.0, as well.