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 optionalThe Google account whose thread this is: its email address, or Gmail's account number in this browser (e.g. "2"). The run fails if that account is not signed in. Omit for the first signed-in account (u/0).
Output
read requiredThe final read state: true if thread is now read.
unread requiredThe final unread state: true if thread is now unread.
threadId requiredalready_read optionaltrue = the thread was already read; nothing was clicked.
already_unread optionaltrue = the thread was already unread; nothing was clicked.
