Apple Mail

v1.1.8
io.github.JonathanRReed/apple-mcp-mail Checked 10 hours ago Published 23 hours ago

Read, search, compose, and send emails via Apple Mail on macOS.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

mail_health Mail Health

Report the active Apple Mail MCP configuration.

mail_permission_guide Mail Permission Guide

Explain how to grant Apple Mail automation permission on macOS.

mail_recheck_permissions Mail Recheck Permissions

Recheck Mail access after the user changes macOS permissions, and notify the client that Mail resources changed.

mail_list_mailboxes List Mailboxes

List Apple Mail mailboxes, optionally filtered by account.

ParameterTypeDescription
accountMail account name as returned by mail_list_mailboxes. Omit to cover all accounts.

mail_search_messages Search Mail

Search Apple Mail messages by query with optional account, mailbox and unread filters. Without account, accounts are searched in Mail's order and the limit can be filled by the first one; pass account (as returned by mail_list_mailboxes) to search a specific account.

ParameterTypeDescription
query *stringText matched against message subject or sender (case-insensitive contains). Use "*" to match every message.
accountMail account name as returned by mail_list_mailboxes. Omit to cover all accounts.
limitMaximum number of messages to return, 1 to 100.
mailboxMailbox name to search, such as "INBOX" or "Archive", as returned by mail_list_mailboxes. Omit to search all mailboxes.
unread_onlybooleanTrue to return only unread messages.

mail_get_message Get Email

Fetch a single Apple Mail message by message_id.

ParameterTypeDescription
message_id *stringMessage ID exactly as returned by mail_search_messages, mail_get_thread or mail_get_message; it encodes the account, mailbox and message.

mail_get_thread Get Thread

Find related messages in the same mailbox thread by normalized subject, anchored on a message_id.

ParameterTypeDescription
message_id *stringMessage ID exactly as returned by mail_search_messages, mail_get_thread or mail_get_message; it encodes the account, mailbox and message.
limitMaximum number of thread messages to consider (1 or more); the thread is matched by normalized subject in the anchor message's mailbox.

mail_compose_draft Compose Draft

Create a draft message in Apple Mail without sending it. Optionally specify from_account as an email address or account name to set the sender.

ParameterTypeDescription
to *arrayRecipient email addresses, one per item.
attachmentsAbsolute paths of files to attach. Each must be a regular file under the configured APPLE_MAIL_MCP_ALLOWED_ATTACHMENT_ROOT; attachments are rejected when no root is configured.
bccBlind carbon-copy email addresses, one per item.
bodystringPlain-text message body.
ccCarbon-copy email addresses, one per item.
from_accountSender: an account email address or account name from mail_list_mailboxes. Omit to use Mail's default account.
subjectstringSubject line.

mail_send_message Send Email

Send an email immediately via Apple Mail. Optionally specify from_account as an email address or account name to set the sender.

ParameterTypeDescription
to *arrayRecipient email addresses, one per item.
attachmentsAbsolute paths of files to attach. Each must be a regular file under the configured APPLE_MAIL_MCP_ALLOWED_ATTACHMENT_ROOT; attachments are rejected when no root is configured.
bccBlind carbon-copy email addresses, one per item.
bodystringPlain-text message body.
ccCarbon-copy email addresses, one per item.
from_accountSender: an account email address or account name from mail_list_mailboxes. Omit to use Mail's default account.
subjectstringSubject line.

mail_reply_message Reply to Message

Reply to an existing email message. Provide a message_id and body text. Set reply_all=true to reply to all recipients. Optionally specify from_account. In full_access the reply is sent; in safe_manage it is saved as an unsent draft in Mail for the user to review (check `sent` and `note` in the result).

ParameterTypeDescription
body *stringPlain-text reply body, placed above the quoted original.
message_id *stringMessage ID exactly as returned by mail_search_messages, mail_get_thread or mail_get_message; it encodes the account, mailbox and message. This is the message being replied to.
from_accountSender: an account email address or account name from mail_list_mailboxes. Omit to use Mail's default account.
reply_allbooleanTrue to reply to the sender and all other recipients; false (default) replies to the sender only.

mail_forward_message Forward Message

Forward an existing email message to new recipients. Provide a message_id and the to list. Optionally prepend body text and specify from_account. In full_access the forward is sent; in safe_manage it is saved as an unsent draft in Mail for the user to review (check `sent` and `note` in the result).

ParameterTypeDescription
message_id *stringMessage ID exactly as returned by mail_search_messages, mail_get_thread or mail_get_message; it encodes the account, mailbox and message. This is the message being forwarded.
to *arrayRecipient email addresses, one per item.
bodystringOptional plain-text note placed above the forwarded message. With a note, the original is included as plain text and its attachments are kept.
from_accountSender: an account email address or account name from mail_list_mailboxes. Omit to use Mail's default account.

mail_mark_message Mark Message Read/Unread

Set the read status of an email message. Pass is_read=true to mark as read, is_read=false to mark as unread.

ParameterTypeDescription
is_read *booleanTrue to mark the message read, false to mark it unread.
message_id *stringMessage ID exactly as returned by mail_search_messages, mail_get_thread or mail_get_message; it encodes the account, mailbox and message.

mail_move_message Move Message

Move an email message to a different mailbox. Optionally specify target_account if the mailbox is in a different account.

ParameterTypeDescription
message_id *stringMessage ID exactly as returned by mail_search_messages, mail_get_thread or mail_get_message; it encodes the account, mailbox and message.
target_mailbox *stringExact name of the destination mailbox, as returned by mail_list_mailboxes.
target_accountAccount that owns target_mailbox. Omit to use the message's own account.

mail_delete_message Delete Message

Delete (trash) an email message by its message_id.

ParameterTypeDescription
message_id *stringMessage ID exactly as returned by mail_search_messages, mail_get_thread or mail_get_message; it encodes the account, mailbox and message. The message is moved to the account's Trash.

mail_reply_latest_in_thread Reply To Latest In Thread

Find the latest related message in the same mailbox thread and reply to that message. In full_access the reply is sent; in safe_manage it is saved as an unsent draft in Mail for the user to review (check `sent` and `note` in the result).

ParameterTypeDescription
body *stringPlain-text reply body, placed above the quoted original.
message_id *stringMessage ID exactly as returned by mail_search_messages, mail_get_thread or mail_get_message; it encodes the account, mailbox and message. Any message in the thread; the reply goes to the latest one.
from_accountSender: an account email address or account name from mail_list_mailboxes. Omit to use Mail's default account.
limitMaximum number of thread messages to consider (1 or more); the thread is matched by normalized subject in the anchor message's mailbox.
reply_allbooleanTrue to reply to the sender and all other recipients; false (default) replies to the sender only.

mail_archive_thread Archive Thread

Move related messages in the same mailbox thread to the target archive mailbox.

ParameterTypeDescription
message_id *stringMessage ID exactly as returned by mail_search_messages, mail_get_thread or mail_get_message; it encodes the account, mailbox and message. Any message in the thread to archive.
archive_accountAccount that owns archive_mailbox. Omit to use each message's own account.
archive_mailboxstringExact name of the destination mailbox (default "Archive"), as returned by mail_list_mailboxes.
limitMaximum number of thread messages to move (1 or more); the thread is matched by normalized subject in the anchor message's mailbox.

mail_list_prompts Mail List Prompts

Fallback prompt discovery tool for tool-only MCP clients.

mail_get_prompt Mail Get Prompt

Fallback prompt rendering tool for tool-only MCP clients.

ParameterTypeDescription
name *stringPrompt name as returned by mail_list_prompts.
arguments_jsonOptional prompt arguments as a JSON object string, for example '{"topic": "invoices"}'.

search_tools Search Tools

Search this server's tool catalog by keyword, alias, or domain tag.

ParameterTypeDescription
query *stringKeywords describing the task, such as 'send text' or 'list events'.
domain_tagsOnly return tools whose domain or tags include one of these, such as ['mail'].
limitintegerMaximum number of matching tools to return.
modestringResult detail: 'compact' (default), 'detail' adds usage intent and aliases, 'full' adds examples.

get_tool_info Get Tool Info

Load the full schema, examples, and metadata for one tool from this server.

ParameterTypeDescription
name *stringExact tool name, as returned by search_tools.
include_examplesbooleanInclude example calls.
include_schemabooleanInclude the tool's input and output JSON schemas.