Create or update a tag
mail_tag_upsertCreate a new mail tag or update an existing tag's label and color. Provide a label; optionally specify a key to update or omit to create.
Instructions
Create a tag, or recolour/rename an existing one.
color is #RRGGBB. Omit key to create a new tag; pass an existing key to
update it.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| key | No | ||
| color | No | ||
| label | Yes | ||
| confirm | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||