> ## Documentation Index
> Fetch the complete documentation index at: https://docs.r28.ai/charter/llms.txt
> Use this file to discover all available pages before exploring further.

# labels_list

> List all labels in the user's mailbox.

<div className="tool-route"><span className="tool-row-method" data-method="GET">GET</span><code>{"https://gmail.googleapis.com/gmail/v1/users/{userId}/labels"}</code></div>

```python gmail_labels_list.py theme={null}
from charter.packs import gmail

result = await gmail.labels_list.ainvoke({})
```

<Note>
  Requires `https://www.googleapis.com/auth/gmail.modify`. Costs 1 against the provider's own quota.
</Note>

## Path parameters

<div className="reference-table">
  | Field    | Type     | Description                                                                                                                                                    |
  | -------- | -------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------- |
  | `userId` | `string` | The user's email address. The special value 'me' can be used to indicate the authenticated user. <span className="field-constraints">defaults to `"me"`</span> |
</div>
