App Logo
mail.google.com

Send Gmail email

Automatically send Gmail email on mail.google.com. Send an email from the signed-in Gmail account, with a plain-text body and an optional single file attachment.

Input

to required

Recipient email address(es). A single string or an array of strings.

subject required

Email subject line.

cc optional

Optional Cc address(es). A single string or an array of strings.

bcc optional

Optional Bcc address(es). A single string or an array of strings.

body optional

Plain-text message body.

Default: ""
sendAt optional

Optional. Schedule the email instead of sending it now: a local date and time with no offset (e.g. 2026-10-06T09:00), read in the browser's time zone. Must be at least a few minutes ahead. The email then waits in Gmail's Scheduled folder, where it can still be edited or cancelled.

account optional

Google account email to send as. Without it, Gmail uses the first signed-in account, which may not be the one you expect if several accounts share the browser.

attachment optional

Optional file to attach. From an agent: files: { attachment: { relativePath: "invoice.pdf" } }, a name inside the reduck folder on the Desktop. From the CLI: file:attachment=/path/to/file. Omit it to send without an attachment.

attachmentName optional

Filename the recipient sees, with its extension (e.g. 'invoice.pdf'). Defaults to the file's own name, which a file named by relativePath keeps. Pass it when sending bytes from the CLI, where the file otherwise arrives named 'attachment'.

Output

to required
sent required

True when the email went out now. False when it was scheduled instead.

subject required
cc optional
bcc optional
threadId optional

Conversation id of the scheduled email, as listed in the Scheduled folder.

scheduled optional

True when the email was scheduled for later with sendAt.

attachment optional

The filename the attachment was sent under, when one was attached.

scheduledFor optional

The send date and time as Gmail displays it on the Scheduled list, in the account's language.

foundInScheduled optional

Whether the email was found on the Scheduled list after scheduling.

FAQ

Send an email from the signed-in Gmail account, with a plain-text body and an optional single file attachment.
Ask an AI agent connected to Reduck to run reduck/mail.google.com/send_email, or run it from a terminal with the Reduck CLI: npx @reduck-ai/cli@latest run --script reduck/mail.google.com/send_email
You do not need one. "Send Gmail email" 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: to, subject. Optional: cc, bcc, body, sendAt, account, attachment, attachmentName.
It returns cc, to, bcc, sent, subject, threadId, scheduled, attachment, scheduledFor, foundInScheduled.
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/send_email, or run it from a terminal with the Reduck CLI: npx @reduck-ai/cli@latest run --script reduck/mail.google.com/send_email
It is part of Reduck's official curated catalogue.

Start building not clicking