search_emails
Search archived emails by full-text query, date range, sender, or mailbox folder. Returns summaries to quickly locate relevant messages.
Instructions
Search emails by full-text query, date range, sender, and/or mailbox folder. Returns summaries only (no body). Use get_email for full content. date_from/date_to accept ISO dates (YYYY-MM-DD). Max limit is 50. Use list_accounts + list_mailboxes to find account_id and mailbox_id.
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": {
"query": "<query>"
},
"name": "search_emails"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | ||
| date_from | No | ||
| date_to | No | ||
| sender | No | ||
| account_id | No | ||
| mailbox_id | No | ||
| limit | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |