Summary by sender
mail_senders_summaryScans an email folder (default Inbox) and aggregates messages by sender, returning count, unread, latest message, and available unsubscribe method for top senders, sorted by volume. Enables rapid triage of high-volume senders.
Instructions
KEY TOOL FOR TRIAGE. Scans a whole folder (Inbox by default) and aggregates messages by sender: count, unread, latest message, and for the top senders the available unsubscribe method (oneClick / https / mailto). Sorted by volume. The scan is cached for the session. Follow up with mail_unsubscribe(lastMessageId) and mail_bulk_by_sender(address).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| top | No | Number of senders to return (max 200) | |
| since | No | Only count messages received since this date | |
| folder | No | Folder to analyse. Default: inbox |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| scanned | Yes | ||
| senders | Yes | ||
| totalSenders | Yes |