POST
gmail_labels_create.py
Requires
https://www.googleapis.com/auth/gmail.modify. Costs 5 against the provider’s own quota.Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Create a new Gmail label.
from charter.packs import gmail
result = await gmail.labels_create.ainvoke({"body": ...})
https://www.googleapis.com/auth/gmail.modify. Costs 5 against the provider’s own quota.| Field | Type | Description |
|---|---|---|
userId | string | The user’s email address. The special value ‘me’ can be used to indicate the authenticated user. defaults to "me" |
| Field | Type | Description |
|---|---|---|
body * | Label | The label to create. |
Was this page helpful?