Manage Gmail Label
manage_gmail_labelCreate, update, or delete Gmail labels with color and visibility settings. Manage label organization directly from your AI assistant.
Instructions
Manages Gmail labels: create, update, or delete labels.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Label name. Required for create, optional for update. | |
| action | Yes | Action to perform on the label. | |
| label_id | No | Label ID. Required for update and delete operations. | |
| text_color | No | Label text color as a hex string, e.g. "#ffffff". Set together with background_color. Same palette. On update, omitting both keeps the label's current color. | |
| clear_color | No | On update, remove the label's current color. Cannot be combined with background_color or text_color. | |
| background_color | No | Label background color as a hex string, e.g. "#fb4c2f". Set together with text_color; Gmail requires both. Gmail accepts only its own palette, and an unsupported value is rejected before the request. Colors apply to user labels, not system labels. | |
| user_google_email | Yes | The user's Google email address. Required. | |
| label_list_visibility | No | Whether the label is shown in the label list. | labelShow |
| message_list_visibility | No | Whether the label is shown in the message list. | show |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |