List emails
list_emailsList recent emails sent from this account. Test emails (test keys, simulator addresses) have test: true.
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 |
|---|---|---|---|
| test | No | true: only test emails; false: only live ones. Omit for both | |
| limit | No | Page size (1–100) | |
| cursor | No | Opaque cursor for the next page | |
| stream | No | Only emails sent on this mail stream | |
| tenant | No | Only emails sent as this tenant. The tenant's external id (your id for that customer) or its Groundmail id |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| emails | Yes | Emails on this page, newest first | |
| has_more | No | True when another page of results is available | |
| next_cursor | No | Cursor to pass as `cursor` to fetch the next page; null on the last page |