Skip to main content
gmail.checkWhetherMessageIsImportant checks whether a message has Gmail’s IMPORTANT label.

Example

Remove the importance marker from newly received messages that Gmail considers important:

Inputs

Inputs accept compatible signals.

Output

Returns Signal<boolean> indicating whether the message has IMPORTANT. Importance is message-level. Gmail can add or remove this label through its own importance classification, independently of your automation.