List emails
list_emailsList fetched emails for the current tenant.
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 |
|---|---|---|---|
| limit | No | Max rows (default 20, max 200) | |
| offset | No | Pagination offset (default 0) | |
| search | No | Free-text search over subject, from_address, from_name | |
| status | No | Filter by status | |
| date_to | No | Only rows with date <= this (YYYY-MM-DD) | |
| date_from | No | Only rows with date >= this (YYYY-MM-DD) | |
| contact_id | No | Filter by contact_id | |
| classification | No | Filter by classification | |
| email_account_id | No | Filter by email_account_id |