mail.google.com
Archive Gmail thread
Input
threadId requiredHex legacy thread id (as returned by search_emails).
account optionalGoogle account email to act as (authuser=). Without it Gmail picks u/0, nondeterministic in a multi-account browser jar.
Output
archived requiredthreadId requiredpage optionalWhich Inbox page the thread was found on (1-based), or null when it was located through search instead.
already_archived optionaltrue = the thread was already out of the Inbox; nothing was clicked.
