update_label
Rename, recolor, or adjust a Gmail label's sidebar and message-list visibility, or move it under a parent label, by changing only the fields you specify.
Instructions
Changes a label: rename it (use "Parent/Child" to move it under another), recolor it, or choose whether it shows in the sidebar and in the message list. Only the fields you pass change. Colors must come from the Gmail palette, e.g. #fb4c2f red, #ffad47 orange, #16a766 green, #2da2bb teal, #4a86e8 blue, #a479e2 purple, #f691b3 pink, #666666 or #cccccc gray.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | No | Hex text color (default #ffffff); needs background | |
| label | Yes | Label name or ID | |
| account | Yes | Email address or label of the account (see list_accounts). | |
| sidebar | No | Sidebar visibility; unread = only when it has unread mail | |
| new_name | No | ||
| background | No | Hex color from the Gmail palette | |
| in_message_list | No | Show the label on messages in the list |