Definition and Usage
Retrieve email details, including subject, body, sender, and recipients from a specified email message. This command allows you to extract specific content from an email and store it in a variable for further processing in your workflow.
Parameter Values
Input parameters
Parameter | Description | Possible Values | Required | Options / Notes |
Email message | Select the mail message to process | - | Yes | This should be a valid email message object |
Content type | Select which part of the email you wish to retrieve | Subject; Email body; Sender; Recipient | Yes | Choose one of the four content types to extract |
Error handling
Parameter Name | Description |
Throw error & stop | When an error occurs, the action will trigger an error and stop the execution of the entire app. |
Retry command | If an error occurs, the action will retry the command in an attempt to resolve the issue and continue the process. |
Ignore error & continue | When an error occurs, the action will be ignored, and the workflow will continue without interruption. |
Variables produced
This action produces a variable that contains the requested email content (subject, body, sender, or recipient) as specified in the "Content type" parameter.
Using Variables in Conditions
You can use the output variable in subsequent actions by referencing it with the variable name you specified in the "Store email content into" parameter. This variable can be used for:
Text processing operations
Conditional logic based on email content
Storing information for reporting purposes
Passing data to other actions in your workflow
Notes
The email message must be a valid email object, typically obtained from previous email-related actions.
Different content types will return different formats:
Subject: Returns the email subject as text
Email body: Returns the email body which may contain HTML formatting
Sender: Returns the sender's email address
Recipient: Returns the recipient email addresses, which may include multiple addresses if there are multiple recipients