apple_mail
Perform Apple Mail operations: check unread emails, send messages, search, draft, list mailboxes, and move to trash.
Instructions
Control Apple Mail. Actions: unread_count, check, unread_list, send, mark_all_read, read_body, search, draft, mailboxes, move_to_trash.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | No | Recipient email address | |
| body | No | Email body text | |
| query | No | Search keyword | |
| action | Yes | unread_count: Get the number of unread emails in inbox; check: Check for new mail; unread_list: List up to 10 unread emails (sender and subject); send: Send an email; mark_all_read: Mark all inbox messages as read; read_body: Read the body of a specific email by subject; search: Search emails by keyword in subject or sender; draft: Create a draft email (visible but not sent); mailboxes: List all mailboxes; move_to_trash: Move an email to trash by subject | |
| confirm | No | Set to true to confirm a protected/destructive action. Without this, protected actions return a preview instead of executing. | |
| mailbox | No | Mailbox to search (default: "inbox") | |
| subject | No | Email subject |