Email Notification Action (Advanced)
The Email Notification Action (Advanced) sends an email to the specified email address and supports attaching images.
This action is available on the Standard and Enterprise plans. See Plans for details.
You can send up to 10 emails per hour. This hourly limit is combined with the Email Notification Action. If notifications across both actions exceed the limit, they will be discarded and not resent.
Configuration
In the Action Condition input field, you can specify the conditions under which the action will be executed using the values (Message or Context) from the event source to the channel. For details on supported expressions, refer to Use Expressions in Actions.
Configuring Email Notification Action (Advanced)
The Subject, Body, and Attachment Image URL fields support expressions.
- To: Select the recipient's email address.
- CC: Select the email address to add as a CC recipient.
- BCC: Select the email address to add as a BCC recipient.
- Subject: Enter the email subject.
- Body: Enter the email body.
- Attachment Image URL: Enter the URL of the image to attach to the email.
- The total size of all attachments must not exceed 2 MB. Exceeding this limit results in an error.
- Example expressions:
${event.payload.imageUrl},${payload.imageUrl}.
- Only the Root user can set the email addresses for email recipients. SAM users cannot set this.
- You can only select email addresses that have already been added to the operator. For more details on adding an email address to the operator, refer to Adding an Email Address.
Output
Set up how the action's output data will be processed. Refer to Enable Republishing of Action Output for more details.
Attachment Image URL Examples
Specifying Multiple Image URLs Individually
You can specify image URLs individually in the Attachment Image URL field. Click to add additional input fields.
- First Attachment Image URL:
${payload.imageUrl01} - Second Attachment Image URL:
${payload.imageUrl02}
Using Output from the Collect Messages Action
When using the Collect Messages Action, image URLs are returned as an array. In this case, you can specify the array directly.
- Attachment Image URL:
${payload.image}
For example, if the following array is stored in payload.image, three images will be attached to the email:
[
"https://example.com/image1.jpg",
"https://example.com/image2.png",
"https://example.com/image3.png"
]
Output Data of the Action
When the email is added to the send queue by the Email Notification Action (Advanced), the response {"message":"OK"} is returned.
The response {"message":"OK"} does not confirm receipt of the email by the recipient.