mail_search
Find email messages in selected accounts by sender, subject, date, read/unread, and attachment filters. Each account paginates independently.
Instructions
List/search messages across an intentional account selection using structured sender, subject and date filters. Includes mailbox folders such as Deleted Items. Not Gmail syntax or full-text search. Each account has independent pagination; repeat the identical filters/pageSize with its cursor.
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": {
"accounts": "<accounts>"
},
"name": "mail_search"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| filters | No | ||
| accounts | Yes | ||
| pageSize | No |