top_senders
Analyze email folders to rank senders by message count over a date range, using sender address to avoid spoofing. Supports inbox analytics, unsubscribe triage, and contact discovery.
Instructions
Return a frequency table of the top senders in a folder over a date range. Keyed on the sender address, not the display name, so display-name spoofing does not conflate different senders. Use for inbox analytics, unsubscribe triage, and contact discovery.
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": "top_senders"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Max senders to return. | |
| since | No | ISO date lower bound. | |
| before | No | ISO date upper bound. | |
| folder | No | Folder to analyse. Defaults to INBOX. | |
| scanLimit | No | Max messages to scan. | |
| excludeSelf | No | Exclude messages sent by your own address. |