Send Email with Attachment

Send email with an attachment from a Gmail account.

Options

Field Definition Type Required
Body is HTML? Indicate whether the body of the email is HTML or plain text. If you are using the Compose function to create the body of your email, select No.

Dropdown

TRUE

Input

Field Definition Type Required
Email
To Email address(es) of the message recipient(s); format multiple addresses in a list of individual emails or as a single text.

List of Text

TRUE

From Display name and email address or email address only of the sender.

For example, use one of the following formats:

  • Joe Jackson <joe.jackson@web.com>

  • joe.jackson@web.com

Text

FALSE

CC Email address(es) of recipient(s) of a carbon copy of the email.

List of Text

FALSE

BCC Email address(es) of recipient(s) of a blind carbon copy of the email.

List of Text

FALSE

Subject Subject of the message.

Text

FALSE

Body Content of the message (plain text or HTML depending on the Options setting).

Text

FALSE

File
File Name Name of the file to attach.

Text

TRUE

File Content File to attach. File

TRUE

Attachments must be 10 MB in size or less.

Output

Field Definition Type

Email

Message ID Unique ID of the email generated by Gmail.

Text

Additional information

  • The From field indicates who is sending emails (send as). You can send emails on behalf of yourself or someone. If you own another email address, you can send mail as that address.

  • You can add an attachment by mapping a File Type output from an action that generates or returns a file.

Related topics

Gmail connector

Workflow elements

Gmail API documentation