list_messages
Fetch email messages from a specified macOS Mail account and mailbox. Supports pagination with limit and offset, plus optional before/after date filters to narrow results.
Instructions
List messages in a mailbox with pagination. Provide accountName and mailboxName to scope the listing.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| after | No | Only return messages received after this ISO 8601 date (e.g. 2024-01-15T00:00:00Z) | |
| limit | No | Maximum number of messages to return (default 25) | |
| before | No | Only return messages received before this ISO 8601 date (e.g. 2024-12-31T23:59:59Z) | |
| offset | No | Number of messages to skip for pagination (default 0) | |
| accountName | Yes | The name of the account containing the mailbox | |
| mailboxName | Yes | The name of the mailbox to list messages from |