gmail_label_list
List every Gmail label with unread and total message counts. Read-only access to review mailbox organization and label usage.
Instructions
List every label on the Gmail mailbox (system labels like INBOX/TRASH and user-created ones), with unread/total message counts. Adding or removing labels on messages is CLI-only in this release (omni-dev gmail label add/remove) — no MCP tool mutates labels yet. Read-only. Mirrors omni-dev gmail label list. Output is YAML.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| account | No | Selects a named Gmail account instead of the ambient `--account`/`OMNI_DEV_GMAIL_ACCOUNT` resolution — e.g. `work`. Omit to use the resolved default account (or the legacy single-account credentials, if no named accounts are configured). Call `gmail_account_list` to discover configured names. |