Skip to main content
gmail.updateLabel changes a user-owned label selected by display name or immutable ID.

Example

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

Inputs

Provide at least one of name, labelListVisibility, messageListVisibility, or color. Inputs accept compatible signals.

Output

Returns 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. Both color fields must use values from Gmail’s official label-color palette.