gmail.listLabels returns every label in the connected mailbox, including immutable IDs for later actions.
Example
automations/list-gmail-labels.automation.ts
Inputs
Second argument
{ account } accepts a compatible signal.
Output
ReturnsSignal<GmailLabel[]>. Each label contains:
Use
labelId for durable references and for labelIds search filters.
Display names are intended for people and can be renamed.