search_emails
Find emails using optional free-text queries and sender, recipient, CC, or BCC filters across one or all registered accounts.
Instructions
Search emails using optional free text and address filters. cc searches both CC and BCC. Supplied criteria are combined with AND. Pass account to search one account, or omit it to search all registered accounts in parallel. Each item may include webUrl, a user-shareable native-client link that requires mailbox access, or webUrlUnavailableReason when no link is available.
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": "search_emails"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cc | No | Match a CC or BCC recipient. | |
| to | No | Match a direct recipient. | |
| from | No | Match the sender. | |
| limit | No | ||
| query | No | Optional free-text search query. | |
| account | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| count | Yes | ||
| items | Yes | ||
| errors | No | ||
| account | Yes | ||
| accounts | No |