mail_get_email
Retrieve specific emails from Mail.app on macOS using search criteria like subject, sender, date, or mailbox. Includes option to fetch email body if needed.
Instructions
[Mail operations] Get a specific email by search criteria from Mail.app
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| account | No | Name of the account to search in (e.g., 'iCloud', 'Gmail', 'Exchange'). If not specified, searches all accounts with preference for iCloud. | iCloud |
| dateReceived | No | Date received to search for (format: YYYY-MM-DD) | |
| includeBody | No | Include email body in the result if true | |
| mailbox | No | Name of the mailbox to search in (e.g., 'Inbox', 'Sent') | Inbox |
| sender | No | Sender email or name to search for (partial match) | |
| subject | No | Subject text to search for (partial match) | |
| unreadOnly | No | Only search unread emails if true |