List emails
list_emailsList emails across all mailboxes (unified inbox) — newest first, without bodies (use get_email). Filter by mailbox, campaign, thread, lead, unread, direction (sent/received), folder, text search, date range. Set latestOfThread to get one row per conversation.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "list_emails"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| type | No | ||
| limit | No | Page size, 1-100. | |
| since | No | ISO-8601, inclusive. | |
| until | No | ISO-8601, exclusive. | |
| cursor | No | Pagination cursor: pass `meta.nextCursor` from the previous page. Omit for the first page. | |
| folder | No | ||
| leadId | No | ||
| search | No | Full-text search; supports "quoted phrases", OR, -exclude. | |
| isUnread | No | ||
| threadId | No | Conversation id (`threadId` from another email). | |
| mailboxes | No | Mailbox addresses. | |
| sortOrder | No | ||
| campaignId | No | ||
| latestOfThread | No |