Skip to main content
gmail.checkLabel reports whether a message has an existing user or system label.

Example

Archive new messages that already carry the Handled label:

Inputs

Inputs accept compatible signals. Label IDs must match exactly. The action matches display names after trimming surrounding whitespace and ignoring capitalization.

Output

Returns Signal<boolean>: true when the message has the resolved label and false when that label exists but is absent.
A missing label is an error, not a false result. Labels belong to a specific Gmail account, so make sure label, messageId, and account refer to the same mailbox.