Create a Gmail label
create_labelCreate a new Gmail label. Prevents duplicates by failing if a label with the same name already exists.
Instructions
Create a new Gmail label. Fails with a clear message if a label with that exact name already exists.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | The label name to create, e.g. 'Receipts/2026'. | |
| account | Yes | The Gmail address to operate on. Must be one of the accounts returned by list_accounts. If you don't know which account to use, call list_accounts first and ask the user if ambiguous. |