gmail.markMessagesAsUnread adds Gmail’s UNREAD label to messages.
Example
Mark up to 100 read messages with theNeeds review label as unread:
Inputs
Inputs accept compatible signals.
Output
Returns aSignal<string[]> with the modified message IDs in input order.
Gmail stores unread state per message. Adding UNREAD to one message can make its conversation appear unread in Gmail even though other messages in the thread remain read.