App Logo
mail.google.com

Send Gmail email

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.

subject required

Email subject line.

body optional

Plain-text message body.

Default: ""
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.

attachmentMime optional

MIME type of the attachment (e.g. 'application/pdf'). Defaults to a generic binary type if omitted.

attachmentName optional

Filename the recipient sees for the attachment (e.g. 'invoice.pdf'). Defaults to 'attachment' if omitted.

attachmentBase64 optional

Base64-encoded bytes of a file to attach. Optional, omit to send without an attachment. Keep the file small, a few hundred KB or less.

Output

to required
sent required
subject required

Start building not clicking