Mail.app
NPM · @P-L-TA/MAIL-MCP
Search, read, send, and manage email via macOS Mail.app across all configured accounts.
Available components
Last scanned (22 hours ago)
Scores higher than 96% of npm servers
Category Communication
How this component scores in each security and reliability category. Every signal is checked automatically from public evidence about the published package, including repeated runs of it in an isolated sandbox, and we only credit what we can confirm. How we score → Why this is hard to score →
Supply Chain Security98
- No malware found by supply-chain analysis.Pass
- No known CVEs affecting this package version or its production dependencies.Pass
- No install/post-install scripts declared.Pass
- 30 of 92 dependencies flagged as unhealthy. View diagnostics → Partial
Provenance & Transparency97
- Source repository is publicly reachable at the declared URL. View diagnostics → Pass
- Cryptographically verified build provenance (signed, bound to p-l-ta/mail-mcp). View diagnostics → Pass
- Clear OSI-approved license (MIT).Pass
- Actively maintained (last published 129 days ago).Pass
- Disclosure check failed: no security disclosure policy was found in the source repository. See how to fix → Fail
Schema Quality & AI Usability77
- AI-judged instruction clarity (good).Pass
- Tool/resource definitions use about 2285 tokens (~95/item across 24 items; 24 tools + 0 resources), lean.Pass
- Usage-examples check failed: none of the tools include examples. See how to fix → Fail
Stability & Change Management100
- No destabilizing schema changes in the last 30 days.Pass
Tool Coverage94
- 100% of tools have a non-trivial description (not blank, and not just the tool's name).Pass
- 83% of tool parameters carry a description.Partial
Tool Safety100
- No prompt-injection markers were found in the server instructions, tool names or descriptions we captured.Pass
- All 3 tool(s) whose name or description implies an irreversible operation declare an MCP destructiveHint annotation.Pass
- An AI judge read all 24 captured unit(s) of tool text and found none that tries to manipulate the model reading it.Pass
Capabilities100
- Implements a supported MCP spec version (2025-11-25); the latest is 2026-07-28.Pass
Checks we ran (16)
- Malware scan
- Known CVEs
- Install scripts
- Dependency health
- Source repository
- Provenance
- License
- Maintenance
- Security disclosure
- Schema quality
- Stability
- Tool coverage
- Injection markers
- Destructive annotations
- Judged manipulation
- MCP protocol
Does not apply to this package (2)
- Endpoint SecurityScored on hosted endpoints only. A package has no live endpoint of its own for us to probe.
- Transport & ReachabilityScored on hosted endpoints only. A package has no live endpoint of its own for us to probe.
The score does not measure everything. What the score does not measure →
Every change we have recorded for this component, newest first. Security-relevant changes are always shown. ▲ marks a change for the better, ▼ a change for the worse; unmarked changes are neutral.
- 13 Nov 26 0
- Stability: 0.97 → pass security
- 12 Nov 26 +1
No change was recorded against any check on this day. Stability & Change Management went from 93 to 97. That category is still filling its 30-day observation window: 28 days of observed history at the previous scan, 29 at this one. The score rises as the window fills, whether or not the server changes.
- 11 Nov 26 −1
- Stability: pass → 0.93 functional
- 7 Nov 26 0
- Security disclosure: unverified → fail ▼ functional
- 5 Nov 26 0
- Stability: 0.97 → pass security
- Security disclosure: fail → unverified ▼ functional
- 4 Nov 26 0
- Stability: pass → 0.97 functional
- 29 Oct 26 0
- Stability: 0.97 → pass security
- 28 Oct 26 0
- Stability: pass → 0.97 functional
Diagnostic detail from the automated scan of this channel: what the scanner observed at each step, so you can see exactly where a check passed or failed. It is informational only and never changes the trust score.
Captured 17 Nov 2026 · Analysed npm/@p-l-ta/mail-mcp@1.3.5
Provenance Verified
A signed build attestation was found and verified, binding this exact artifact to the source repository it claims to come from.
| Result | Verified |
|---|---|
| Ecosystem | npm |
| Reason | Verified |
| Discovered via | Registry attestation endpoint |
| Source repo | p-l-ta/mail-mcp |
| Certificate issuer | https://token.actions.githubusercontent.com |
| Certificate SAN | https://github.com/p-l-ta/mail-mcp/.github/workflows/release.yml@refs/tags/v1.3.5 |
| Rekor log index | 2138143320 |
| Predicate type | SLSA build provenance https://slsa.dev/provenance/v1 |
| Subject digest | sha512:65ace792600578f344e778f9128c26d5d2615c84b4d773deda74c3b969ef86ab6eaad5c373b7749fc37befb3baf5d97a76b560c17333dcf3de869d9a1 |
Background: How many MCP packages publish verified provenance →
Dependencies 92 packages
| Packages resolved | 92 |
|---|---|
| Stale | 30 |
| Tree resolution | Complete |
Background: SBOMs and build attestations, explained →
The tools this component advertises to a client, with an estimated token cost for each. Expand a tool to see its parameters and schema. The per-tool counts are indicative and are not scored directly; the schema's total context footprint is one signal in Schema Quality & AI Usability. A tool's description is untrusted text the model reads on every call, which is what makes this list a security surface and not just an inventory: how tool poisoning works →
bulk_apply ~169
Apply one action (mark_read, mark_unread, flag, unflag, trash, or move) to a list of messages by RFC message-id, in a single batched call — far faster than calling set_message_flags/trash_email/move_email once per message.
| Name | Type | Req | Description |
|---|---|---|---|
| destination_account | string | – | Account name to disambiguate if multiple accounts share the destination mailbox name |
| destination_mailbox | string | – | Required when op is 'move'. Exact mailbox name from list_accounts_and_mailboxes. |
| message_ids | array | yes | RFC message-ids (with or without angle brackets) from search/list results |
| op | string | yes | Action to apply to every message: mark_read, mark_unread, flag, unflag, trash, or move (move requires destination_mailbox) |
No output schema declared.
No examples provided.
bulk_flag ~153
Flag or unflag multiple messages in one call — by mailbox, sender substring, or both. Queries the Envelope Index for matching IDs then updates in a single batched AppleScript call.
| Name | Type | Req | Description |
|---|---|---|---|
| account | string | – | Restrict to this account (substring match against mailbox URL host). |
| flagged | boolean | yes | Target flagged state to apply to every matching message. |
| from | string | – | Substring to match against the sender address or display name. At least one of mailbox or from is required. |
| limit | integer | – | Maximum number of messages to update in one call. |
| mailbox | string | – | Restrict to this exact mailbox name (matched against mailbox URL). At least one of mailbox or from is required. |
No output schema declared.
No examples provided.
bulk_mark_read ~99
Mark multiple messages as read in one call — by mailbox, sender substring, or both. Far faster than calling set_message_flags per message.
| Name | Type | Req | Description |
|---|---|---|---|
| account | string | – | Restrict to this account name. |
| from | string | – | Substring to match against the sender field. At least one of mailbox or from is required. |
| mailbox | string | – | Restrict to this exact mailbox name. At least one of mailbox or from is required. |
No output schema declared.
No examples provided.
bulk_move ~194
Move multiple messages to a destination mailbox in one call — by mailbox, sender substring, or both. Queries the Envelope Index for matching IDs then moves in a single batched AppleScript call.
| Name | Type | Req | Description |
|---|---|---|---|
| account | string | – | Restrict source to this account (substring match against mailbox URL host). |
| destination_account | string | – | Account name to disambiguate if multiple accounts share the destination mailbox name |
| destination_mailbox | string | yes | Exact mailbox name from list_accounts_and_mailboxes (slash-pathed for nested, e.g. 'Folders/Amtrak') |
| from | string | – | Substring to match against the sender address or display name. At least one of mailbox or from is required. |
| limit | integer | – | Maximum number of messages to move in one call. |
| mailbox | string | – | Restrict source to this mailbox name (matched against mailbox URL). At least one of mailbox or from is required. |
No output schema declared.
No examples provided.
bulk_trash ~138
Move multiple messages to trash in one call — by mailbox, sender substring, or both. Queries the Envelope Index for matching IDs then trashes in a single batched AppleScript call.
| Name | Type | Req | Description |
|---|---|---|---|
| account | string | – | Restrict to this account (substring match against mailbox URL host). |
| from | string | – | Substring to match against the sender address or display name. At least one of mailbox or from is required. |
| limit | integer | – | Maximum number of messages to trash in one call. |
| mailbox | string | – | Restrict to this exact mailbox name (matched against mailbox URL). At least one of mailbox or from is required. |
No output schema declared.
No examples provided.
check_compatibility ~52
Probe each mail-mcp dependency (Envelope Index schema, SyncedRules.plist, AppleScript, MailData directory) and report pass/fail. Run this after a macOS update to verify nothing broke.
Input schema present but exposes no named parameters.
No output schema declared.
No examples provided.
create_mailbox ~65
Create a new mailbox (folder) in a Mail.app account.
| Name | Type | Req | Description |
|---|---|---|---|
| account | string | – | Account name to create it in. Required when multiple accounts are configured; use name from list_accounts_and_mailboxes. |
| name | string | yes | Name for the new mailbox/folder |
No output schema declared.
No examples provided.
create_rule ~104
Create a new Mail.app rule. A timestamped backup of SyncedRules.plist is made before writing. Mail.app may need to be restarted for the rule to take effect.
| Name | Type | Req | Description |
|---|---|---|---|
| actions | object | yes | At least one action should be set. |
| conditions | array | yes | One or more match conditions. |
| match_all | boolean | – | true = ALL conditions must match (AND); false = ANY (OR). |
| name | string | yes | Display name for the rule. |
No output schema declared.
No examples provided.
delete_rule ~75
Permanently delete a Mail.app rule by its RuleId. A timestamped backup of SyncedRules.plist is made before writing so the deletion can be undone. Mail.app may need to be restarted for the change to take effect.
| Name | Type | Req | Description |
|---|---|---|---|
| rule_id | string | yes | The RuleId of the rule to delete (from list_rules). |
No output schema declared.
No examples provided.
empty_mailbox ~108
Delete every message in a mailbox at once — moves to Deleted Messages, or permanently removes if the mailbox is already Deleted Messages/Trash. Use for Junk, Trash, or bulk-cleanup folders.
| Name | Type | Req | Description |
|---|---|---|---|
| account | string | – | Account name to disambiguate when the same mailbox name exists in multiple accounts |
| mailbox_name | string | yes | Exact mailbox name to empty (e.g. 'Junk', 'Deleted Messages', 'Other Inbox'). Use list_accounts_and_mailboxes for exact names. |
No output schema declared.
No examples provided.
get_unsubscribe_link ~55
Extract unsubscribe URLs from a message — checks the List-Unsubscribe header first (reliable), then scans the plain-text body as a fallback.
| Name | Type | Req | Description |
|---|---|---|---|
| message_id | string | yes | RFC message-id (with or without angle brackets) |
No output schema declared.
No examples provided.
list_accounts_and_mailboxes ~25
List all configured Mail.app accounts and their mailboxes with unread counts.
Input schema present but exposes no named parameters.
No output schema declared.
No examples provided.
list_recent ~55
List recent messages in a mailbox of a specific account.
| Name | Type | Req | Description |
|---|---|---|---|
| account | string | yes | Account name as shown in Mail.app |
| limit | integer | – | – |
| mailbox | string | – | – |
| unread_only | boolean | – | – |
No output schema declared.
No examples provided.
list_rules ~28
List all Mail.app rules with their conditions and actions. Reads directly from SyncedRules.plist.
Input schema present but exposes no named parameters.
No output schema declared.
No examples provided.
list_senders ~179
Return a grouped count of senders across mailboxes — who sends how many messages, how many are unread, and when the last arrived. By default excludes Deleted Messages, Junk, Sent, and Drafts so counts reflect live mail only. Ideal for identifying bulk senders and noise.
| Name | Type | Req | Description |
|---|---|---|---|
| account | string | – | Account host/name substring to restrict to |
| include_system_mailboxes | boolean | – | When true, include Deleted Messages, Junk, Sent Messages, and Drafts in unscoped queries. Has no effect when mailbox is specified. |
| limit | integer | – | Max senders to return, ordered by message count desc |
| mailbox | string | – | Mailbox name or URL substring to restrict to (e.g. 'INBOX', 'Amtrak'). When omitted, covers all non-system mailboxes (see include_system_mailboxes). |
No output schema declared.
No examples provided.
move_email ~103
Move a message to a different mailbox by RFC message-id. Use list_accounts_and_mailboxes to get exact mailbox names.
| Name | Type | Req | Description |
|---|---|---|---|
| destination_account | string | – | Account name to disambiguate if multiple accounts share the mailbox name |
| destination_mailbox | string | yes | Exact mailbox name from list_accounts_and_mailboxes (slash-pathed for nested, e.g. 'Folders/Amtrak') |
| message_id | string | yes | RFC message-id (with or without angle brackets) |
No output schema declared.
No examples provided.
read_email ~67
Read full body of a message by its RFC message-id. Uses Mail.app via AppleScript so it works for IMAP/iCloud/Exchange messages without filesystem access.
| Name | Type | Req | Description |
|---|---|---|---|
| message_id | string | yes | RFC message-id (with or without angle brackets) from search_emails / list_recent results |
No output schema declared.
No examples provided.
reply_to_email ~50
Reply to an existing message identified by RFC message-id.
| Name | Type | Req | Description |
|---|---|---|---|
| body | string | yes | – |
| message_id | string | yes | RFC message-id from search/list results |
| reply_all | boolean | – | – |
No output schema declared.
No examples provided.
search_emails ~183
Search Mail.app messages via the Envelope Index database. Returns rich metadata including RFC message-id (usable with read_email, reply_to_email, set_message_flags).
| Name | Type | Req | Description |
|---|---|---|---|
| account | string | – | Substring match against the full mailbox URL (host and path). Use the account hostname to target an account (e.g. 'icloud'), or a mailbox path segment to target a specific folder (e.g. 'INBOX', 'Amtr… |
| from | string | – | Substring match on sender address or display name |
| include_deleted | boolean | – | – |
| limit | integer | – | – |
| query | string | – | Free-text search across subject, sender, and body summary. Omit to list-only by other filters. |
| since | string | – | ISO date — only messages on or after this date |
| subject | string | – | Substring match on subject |
No output schema declared.
No examples provided.
send_email ~75
Send a new email via Mail.app from an existing account.
| Name | Type | Req | Description |
|---|---|---|---|
| body | string | yes | – |
| cc | string | – | CC recipient email address |
| from_account | string | – | Account name to send from (matches Mail.app account name) |
| subject | string | yes | – |
| to | string | yes | Primary recipient email address |
No output schema declared.
No examples provided.
set_message_flags ~46
Set read and/or flagged status on a message identified by RFC message-id.
| Name | Type | Req | Description |
|---|---|---|---|
| flagged | boolean | – | – |
| message_id | string | yes | – |
| read | boolean | – | – |
No output schema declared.
No examples provided.
submit_feedback ~87
Open a pre-filled GitHub issue for mail-mcp (p-l-ta/mail-mcp) in the default browser. Automatically includes macOS version and mail-mcp version in the issue body.
| Name | Type | Req | Description |
|---|---|---|---|
| description | string | yes | Description of the problem or feedback. Include steps to reproduce if reporting a bug. |
| title | string | – | Short issue title (optional — a default will be generated). |
No output schema declared.
No examples provided.
trash_email ~44
Move a message to Deleted Messages (trash) by RFC message-id. Does not permanently delete.
| Name | Type | Req | Description |
|---|---|---|---|
| message_id | string | yes | RFC message-id (with or without angle brackets) |
No output schema declared.
No examples provided.
update_rule ~131
Update an existing Mail.app rule by its RuleId (use list_rules to find IDs). A timestamped backup is made before writing. Mail.app may need to be restarted for changes to take effect.
| Name | Type | Req | Description |
|---|---|---|---|
| actions | object | – | Partial actions update — only supplied fields are changed. |
| conditions | array | – | Replace the full conditions list. Omit to leave unchanged. |
| match_all | boolean | – | true = ALL (AND); false = ANY (OR). |
| name | string | – | New display name. |
| rule_id | string | yes | The RuleId of the rule to update (from list_rules). |
No output schema declared.
No examples provided.
How do I install the Mail.app MCP server?
Mail.app runs locally as an npm package, launched with npx -y @p-l-ta/mail-mcp. Ready-made configuration for Claude, Cursor, VS Code, Codex and 5 more is on this page, copied from each client's own documentation.
npm · @p-l-ta/mail-mcp
claude mcp add p-l-ta-mail-mcp -- npx -y @p-l-ta/mail-mcp
What is the Mail.app MCP server?
Mail.app is an MCP server listed in the public MCP registry as io.github.p-l-ta/mail-mcp. Search, read, send, and manage email via macOS Mail.app across all configured accounts. This page covers its npm package (@p-l-ta/mail-mcp).
Is the Mail.app MCP server safe to use?
Mail.app scores 94 out of 100 on VerifyMCP. We found no known CVEs affecting it as of 17 November 2026. It declares no install or post-install scripts. Its build provenance is signed and verified. That is a record of what we were able to check automatically, not an endorsement. The category breakdown on this page shows every signal behind the number, including the ones we could not confirm.
What tools does the Mail.app MCP server expose?
Mail.app exposes 24 tools: search_emails, read_email, list_accounts_and_mailboxes, list_recent, send_email, and 19 more. Their descriptions and schemas cost roughly 2,285 tokens of context every time the server is loaded.
Is the Mail.app MCP server still maintained?
Mail.app is still listed as active in the MCP registry. We last reached this channel on 17 November 2026. Those dates come from our own scans of the registry and the channel itself, not from anything the publisher announced.
What licence is the Mail.app MCP server under?
Mail.app declares the MIT licence, which is OSI-approved. That covers the source only, and says nothing about the cost of any service it calls.
What did VerifyMCP test on the Mail.app MCP server?
VerifyMCP ran 16 checks on Mail.app, covering Malware scan, Known CVEs, Install scripts, Dependency health and 12 more. Endpoint Security and Transport & Reachability do not apply to an npm package, so they were not tested. The score does not measure everything, and the scoring documentation lists what it leaves out.