Skip to main content
markAsRead removes Gmail’s UNREAD system label from one or many messages. Use it after an automation has fully handled mail that no longer needs a person’s attention.

Example

Mark each newly received automated receipt as read:

Inputs

Every input field also accepts a compatible Signal; the example passes the filtered message ID signal directly.

Output

The action returns a Signal<string[]> containing the modified message IDs in input order. Gmail stores read state per message using UNREAD. Marking one message as read does not necessarily mark the other messages in its thread as read.