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.

Unless otherwise indicated, field types are text.

Options

  • Body is HTML? (drop-down): 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)

Input

  • Email
    • To (list of text): email addresses of the message recipients (format multiple addresses in a list of individual emails or as a single text string separated by commas or semicolons)
    • Subject: subject of the message
    • Body: content of the message (plain text or HTML depending on the the Options setting)
  • File
    • File Name: name of the file to attach
    • File Content: file to attach

Output

  • Email
    • MessageID: unique ID of the email generated by Gmail