gmail.markMessagesAsRead removes Gmail’s UNREAD label from messages.
Example
Mark each newly received automated receipt as read:Inputs
Inputs accept compatible signals.
Output
Returns aSignal<string[]> with the modified message IDs in input order.
Gmail stores read state per message using UNREAD. Marking one message as read doesn’t necessarily mark the other messages in its thread as read.