App Logo
mail.google.com

Get Current Gmail User

Automatically get Current Gmail User on mail.google.com. Return the display name and email of the Gmail account this browser is signed in as.

Input

account optional

Optional Google account to report on, for a browser signed into several: its email address, or a bare mailbox index such as "2". Omit for the first account (u/0).

Output

name required
email required

FAQ

Return the display name and email of the Gmail account this browser is signed in as.
Ask an AI agent connected to Reduck to run reduck/mail.google.com/get_current_user, or run it from a terminal with the Reduck CLI: npx @reduck-ai/cli@latest run --script reduck/mail.google.com/get_current_user
You do not need one. "Get Current Gmail User" drives the real mail.google.com pages in a browser, so it works whether or not mail.google.com offers an API for this.
Optional: account.
It returns name, email.
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/get_current_user, or run it from a terminal with the Reduck CLI: npx @reduck-ai/cli@latest run --script reduck/mail.google.com/get_current_user
It is part of Reduck's official curated catalogue.

Start building not clicking