List Labels
list_labelsList Proton Mail labels with message counts, excluding regular folders. Use for accessing label-specific email data through a permission-gated, audit-logged interface.
Instructions
List only Proton Mail labels with message counts (Labels/ prefix), not regular folders. Use get_folders when you also need regular folders, folder type, or IMAP special-use metadata.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| account_id | No | Optional account ID to route this call to (multi-account configs). Omit to use the active account. Configured account IDs are listed in the settings UI (Accounts tab). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| count | Yes | ||
| labels | Yes |