Email Actions node is used to perform actions on emails, such as update subject, move email to a specific folder, mark email as read, and mark email as unread based on the inputs provided.
The actions are performed on the email that is mapped to the node.
Configuration for Email Actions node
- Click the Email Actions node to open the attributes pane.
- Specify the Configuration for Email Actions node.
The configuration setup is the same for all Email nodes.
To perform the actions, Map the inputs to the Email Actions node:
- Click the link connecting the preceding node and Email Actions node.
- Map the UID of the browsed email.
The Type of Mapping for UID is always XPath. By default, Easy is selected.
- Select the action to perform from the right-hand panel and click Element Map button.
- Enter the input parameters in the What to get? field and press Enter. The input parameters to be provided for the different actions are:
- UpdateSubject: The subject to be updated to.
- MoveTo: The destination folder to move the email.
The folder must be created before executing the task.
- MarkAsRead: The Boolean value True.
- MarkAsUread: The Boolean value True.
Actions Supported by Different Protocols
Actions |
IMAP(S) |
Exchange |
Graph |
Update Subject |
No |
Yes |
Yes |
MoveTo |
Yes |
Yes |
Yes |
MarkAsRead |
Yes |
Yes |
Yes |
MarkAsUnread |
Yes |
Yes |
Yes |
Properties of the Email Actions node
- Navigate to the Properties tab and enter Name and Description.
- Enable Continue even without match? and Mark run Failure on Node Fail options as required.
Result of Execution in Email Actions node
After executing the task, the Result of Execution window displays the following tabs:
- Input: The details of the email action performed are displayed in XML format.
- Output: The message Email actions are applied successfully is displayed.
- Run Info: The Run Details and Configuration Details are displayed.
- Run Details: Run Details include Run ID, Sequence Number, Iteration ID, and Total Node Execution Time (in seconds).
- Configuration Details: Configuration Details include Configuration Name, Incoming Protocol, Incoming server, Outgoing Protocol, Outgoing server, Username, and Config Level.