list_emails
Retrieve paginated email summaries from any mailbox, newest first, with message references for subsequent actions like replying or moving.
Instructions
List emails in a specific mailbox with pagination. Returns message summaries including a message_ref that can be passed to get_email, reply_email, move_email, etc. Messages are returned newest-first (index 1 = most recent).
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"account": "<account>",
"mailbox": "<mailbox>"
},
"name": "list_emails"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Number of messages to return (max 100). | |
| offset | No | 1-based offset for pagination. Start with 1. | |
| account | Yes | Account name, e.g. "iCloud" or "Google". Use list_folders to see available accounts. | |
| mailbox | Yes | Mailbox name, e.g. "INBOX", "Sent Messages". Must match exactly (case-sensitive). |