list_senders
Lists senders across mailboxes with message count, unread count, and last arrival time. Helps identify bulk senders and reduce noise by excluding system folders.
Instructions
Return a grouped count of senders across mailboxes — who sends how many messages, how many are unread, and when the last arrived. By default excludes Deleted Messages, Junk, Sent, and Drafts so counts reflect live mail only. Ideal for identifying bulk senders and noise.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Max senders to return, ordered by message count desc | |
| account | No | Account host/name substring to restrict to | |
| mailbox | No | Mailbox name or URL substring to restrict to (e.g. 'INBOX', 'Amtrak'). When omitted, covers all non-system mailboxes (see include_system_mailboxes). | |
| include_system_mailboxes | No | When true, include Deleted Messages, Junk, Sent Messages, and Drafts in unscoped queries. Has no effect when mailbox is specified. |