App Logo
mail.google.com

List Google accounts signed in on this browser (Gmail)

Automatically list Google accounts signed in on this browser (Gmail) on mail.google.com. List the Google accounts signed in on this browser, as the Gmail account switcher shows them. Each account comes back with its address, the index that addresses it in a Google URL, and whether it is the one Gmail opens by default. The index is what the other Gmail scripts take as their account argument, so this answers which account a script acts as when none is given.

Input

None

Output

count required
accounts required

Signed-in accounts, ordered by index.

FAQ

List the Google accounts signed in on this browser, as the Gmail account switcher shows them. Each account comes back with its address, the index that addresses it in a Google URL, and whether it is the one Gmail opens by default. The index is what the other Gmail scripts take as their account argument, so this answers which account a script acts as when none is given.
Ask an AI agent connected to Reduck to run reduck/mail.google.com/list_accounts, or run it from a terminal with the Reduck CLI: npx @reduck-ai/cli@latest run --script reduck/mail.google.com/list_accounts
You do not need one. "List Google accounts signed in on this browser (Gmail)" drives the real mail.google.com pages in a browser, so it works whether or not mail.google.com offers an API for this.
Nothing. It takes no input.
It returns count, accounts.
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 only reads. It looks things up on mail.google.com and changes nothing there.
Ask an AI agent connected to Reduck to run reduck/mail.google.com/list_accounts, or run it from a terminal with the Reduck CLI: npx @reduck-ai/cli@latest run --script reduck/mail.google.com/list_accounts
It is part of Reduck's official curated catalogue.

Start building not clicking