List emails
list_emailsReview sent email activity by listing messages newest first with cursor pagination; bodies are omitted, so fetch full content separately when needed.
Instructions
GET /emails. Lists emails sent through the API, newest first, without html/text bodies (use get_email for those). Cursor pagination: while has_more is true, pass the id of the last item as after for the next page, or the first item's id as before for the previous page. Use after or before, not both. Emails are kept for 30 days. Needs a full-access key. Read-only.
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 |
|---|---|---|---|
| after | No | An email id. Returns emails older than it (the next page). | |
| limit | No | Number of emails to return, 1 to 100. Default 20. | |
| before | No | An email id. Returns emails newer than it (the previous page). |