Top senders
mailbox_list_sendersGroups messages matching a query by sender address or domain with counts, newest date and unread count, so you can identify who fills the inbox and act on it.
Instructions
Group messages matching a query by sender address with counts, newest date and unread count. Use it to find who fills the inbox, then act with mailbox_move_messages, mailbox_create_filter or mailbox_unsubscribe.
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": "mailbox_list_senders"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | ||
| query | No | Gmail-style query. Examples: from:amazon is:unread | subject:"invoice" newer_than:30d | has:attachment larger:5M | label:$purchases | color:red | is:starred -from:me | has:unsubscribe older_than:6m | (from:a OR from:b) | in:Archive. Bare words search headers and body. Empty = all messages. | newer_than:90d |
| folders | No | Default INBOX; ["all"] for every folder | |
| group_by | No | address | |
| scan_limit | No | Newest N matching messages to scan | |
| response_format | No | 'markdown' for readable text (default), 'json' for complete structured data | markdown |