get_email_stats
Retrieve aggregate mailbox statistics like folder message counts and unread totals for a quick mailbox health overview. Reflects last local sync, not live IMAP.
Instructions
Return aggregate mailbox statistics: folder message counts, total unread counts, and a brief analytics sample. Use for a quick mailbox health overview. Prefer get_email_analytics for richer breakdowns such as top senders and hourly patterns. Prefer get_volume_trends for time-series daily volume data. Reads from the local index (auto-refreshed if stale or empty), not live IMAP — reflects the last sync, so read/unread counts can lag a change made from another client. Unread counts specifically can also lag a flag change (e.g. \Seen set shortly after send) until that message's folder is next fully synced.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| days | No | Trailing days window. | |
| limit | No | Maximum messages to sample. |