App Logo
mail.google.com

Mark Gmail thread as unread

Automatically mark Gmail thread as unread on mail.google.com. Mark a Gmail thread as unread by its hex threadId, in the chosen Google account, wherever the thread is filed. Returns unread, threadId and already_unread. Safe to repeat: a thread that is already unread returns already_unread:true without changing anything. Success is reported only once Gmail has saved the change and a fresh read shows the thread unread. An unknown or malformed id is refused without changing anything.

Input

threadId required

Hex thread id, as returned by list_inbox / search_emails.

account optional

The 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

unread required
threadId required
already_unread optional

true = the thread was already unread; nothing was clicked.

FAQ

Mark a Gmail thread as unread by its hex threadId, in the chosen Google account, wherever the thread is filed. Returns unread, threadId and already_unread. Safe to repeat: a thread that is already unread returns already_unread:true without changing anything. Success is reported only once Gmail has saved the change and a fresh read shows the thread unread. An unknown or malformed id is refused without changing anything.
Ask an AI agent connected to Reduck to run reduck/mail.google.com/mark_unread, or run it from a terminal with the Reduck CLI: npx @reduck-ai/cli@latest run --script reduck/mail.google.com/mark_unread
You do not need one. "Mark Gmail thread as unread" drives the real mail.google.com pages in a browser, so it works whether or not mail.google.com offers an API for this.
Required: threadId. Optional: account.
It returns unread, threadId, already_unread.
Yes. It acts as you on mail.google.com: on your own Chrome it reuses your session, and on a Reduck-hosted browser it loads the mail.google.com cookies saved by the Reduck extension.
It makes changes on mail.google.com, like sending, posting, booking or buying something.
Ask an AI agent connected to Reduck to run reduck/mail.google.com/mark_unread, or run it from a terminal with the Reduck CLI: npx @reduck-ai/cli@latest run --script reduck/mail.google.com/mark_unread
It is part of Reduck's official curated catalogue.

Start building not clicking