Get Mailbox Unread Counts
get_mailbox_unread_countsRetrieve unread email counts for each mailbox across one or all Apple Mail accounts; optionally summarize to per-account inbox totals.
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).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| account | No | Optional account name filter | |
| include_zero | No | Whether to include mailboxes with zero unread messages | |
| summary_only | No | If True, return only per-account inbox unread totals (flat dict of account name -> unread count) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||