Skip to main content
updateLabel updates selected metadata on a user-owned Gmail label. Identify the label by display name or immutable ID, then provide at least one property to change.

Example

automations/update-follow-up-label.automation.ts

Inputs

Provide at least one of name, labelListVisibility, messageListVisibility, or color. Each input can also be a compatible Signal from an earlier trigger or action.

Output

Returns a Signal<GmailLabel> with the updated metadata:
The action resolves display names case-insensitively. Use labelId to avoid ambiguity when names may change.
Gmail system labels cannot be renamed or restyled. Gmail also rejects color combinations outside its supported label-color palette.