search_messages
Search subject or sender in a specified Apple Mail mailbox case-insensitively, with unread-only and paging options. Use an empty query to list emails.
Instructions
Search subject/sender case-insensitively in one mailbox. Empty query lists messages.
Continue with next_offset even if this page has no matches: a scan also stops after about 30 seconds on slow mailboxes. Mail order is not guaranteed chronological; concurrent mailbox changes can affect pagination.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | ||
| query | No | ||
| offset | No | ||
| account_id | Yes | ||
| scan_limit | No | ||
| unread_only | No | ||
| mailbox_path | Yes |