get_mailbox_unread_counts
Retrieve unread email counts per mailbox for specific accounts or all accounts, with optional summary of inbox unread totals per account.
Instructions
Get unread counts per mailbox for one account or all accounts.
When summary_only=True, returns only per-account inbox unread totals (replaces the former get_unread_count tool).
Args: account: Optional account name filter include_zero: Whether to include mailboxes with zero unread messages summary_only: If True, return only per-account inbox unread totals (flat dict of account name -> unread count)
Returns: If summary_only=False: nested dict keyed by account name then mailbox path If summary_only=True: flat dict mapping account names to inbox unread counts
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| account | No | ||
| include_zero | No | ||
| summary_only | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |