search_emails
Search Mail.app messages by free-text, sender, subject, date, or account. Returns rich metadata including RFC message-id for further actions.
Instructions
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).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | No | Free-text search across subject, sender, and body summary. Omit to list-only by other filters. | |
| from | No | Substring match on sender address or display name | |
| subject | No | Substring match on subject | |
| since | No | ISO date — only messages on or after this date | |
| account | No | 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', 'Amtrak'). | |
| include_deleted | No | ||
| limit | No |