Skip to main content
isStarred checks whether one Gmail message has the STARRED system label. Use the boolean result to route starred mail or avoid applying the same state twice.

Example

Remove the star from newly received messages that are already starred:

Inputs

Every input field also accepts a compatible Signal; the example passes email.messageId directly.

Output

The action returns a Signal<boolean> indicating whether the message has Gmail’s STARRED label when the action runs. This checks Gmail’s STARRED state but does not distinguish the visual star styles configured in Gmail.