count_emails
Count emails by sender, folder, unread status, or time period without fetching full messages. Useful for quick statistics like 'how many emails from Amazon this month?'
Instructions
Count messages matching filters without fetching full envelopes. General-purpose counter — e.g. 'how many emails from Amazon this month?'
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": "count_emails"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| account | No | ||
| folder | No | INBOX | |
| query | No | ||
| unread_only | No | ||
| senders | No | ||
| recipients | No | ||
| since_days | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||