Send Email with Attachment

Send email with an attachment from a Gmail account. You can add an attachment by mapping a File Type output from an action that generates or returns a file.


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 FALSE


Field Definition Type Required
To Email address(es) of the message recipient(s); format multiple addresses in a list of individual emails or as a single text List TRUE
CC Email address(es) of recipient(s) of a carbon copy of the email List FALSE
Subject Subject of the message String FALSE
Body Content of the message (plain text or HTML depending on the Options setting) String FALSE
File Name Name of the file to attach String TRUE
File Content File to attach File TRUE


Field Definition Type
Message ID Unique ID of the email generated by Gmail String

Related topics

Gmail connector

About the elements of Okta Workflows

Gmail API documentation