get_labels
Enumerates Proton folders and labels from the local index with message counts, enabling label selection before filtering emails or threads. Use live folder counts if the index may be stale.
Instructions
Return normalized Proton folders and labels from the local mailbox index, including message counts per label. Use to enumerate available labels before filtering with search_indexed_emails or get_threads. Prefer get_folders for live IMAP folder counts when the index may be stale.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Maximum labels to return. Capped at 250; use get_folders for the complete live folder list. |