Skip to main content
gmail.createLabel creates a user-owned label and returns its metadata.

Example

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

Inputs

Inputs accept compatible signals.

Output

Returns Signal<GmailLabel>:
Keep the returned labelId when later actions need an immutable identifier. A label’s display name can change.
Both color fields must use values from Gmail’s official label-color palette.