Forward Gmail Email
You can select this activity to forward an existing Gmail email to other recipients.
This table lists the properties of the activity:
| Property Type | Property Name | Data Type | Description |
|---|---|---|---|
| Input | InArgument<Mail> | The email message to forward. This field is mandatory. | |
| Email Message | Email Body | InArgument<String> | The body of the email message. |
| Email Message | Subject | InArgument<String> | The subject of the email message. |
| Email Message | To | InArgument<List<String>> | The list of recipient email addresses. This field is mandatory. |
| Email Message | CC | InArgument<List<String>> | The list of recipient email addresses to receive a copy of the email message. |
| Email Message | BCC | InArgument<List<String>> | The list of email addresses to bind copy on the email message. |
| Email Message | Attachments | InArgument<List<String>> | Additional attachments to include in the email message. |
| Common | Continue on error | Boolean | Set to True for continuing the workflow even if the activity fails. The default value is set to True. |
| Output | Response code | OutArgument<Int32> | Response code for the activity. |
Activity behavior
Review this behavior of the activity when forwarding messages:
- The activity creates a new message that includes the original email content as quoted text, the new message content, and any additional attachments.
- The activity includes the original attachments from the source email in the forwarded message.
- If a value is not specified in the To field, the activity returns a validation error.
- If the operation is completed successfully, the Response Code is 200.
- If an error occurs, the Response Code is 500.