mail.google.com
Toggle Gmail thread read state
Input
threadId requiredHex legacy thread id (as returned by search_emails).
read optionaltrue to mark as read (default), false to mark as unread.
Default: trueaccount optionalGoogle account email to act as (authuser=). Without it Gmail picks u/0, nondeterministic in a multi-account browser jar.
Output
page requiredWhich All Mail page the thread was found on (1-based).
threadId requiredread optionalThe final read state: true if thread is now read.
unread optionalThe final unread state: true if thread is now unread.
already_read optionaltrue = the thread was already read; nothing was clicked.
already_unread optionaltrue = the thread was already unread; nothing was clicked.
