Open email as HTML

This action opens an email message as an HTML web page using the Chromium built-in browser. Only email files (.eml) in MIME format are supported. This action uses a text variable.

  1. Before the Email step, insert the Read File and Assign steps.

  2. Configure the Read File step to read and store binary data from the .eml file.

  3. Configure the Assign step to convert binary to text.

    The following is an example of the expression: =text(mail_bin, "utf-8"), where mail_bin is a binary variable specified in the Read File step.

  4. Configure the attachment properties (see Attachment properties table).

    Textual variants of the email, such as plain text and HTML, are rendered in the resulting web page. At the top of the web page, a table containing the headers are displayed. Below that, a table lists available attachments.

  5. To view an attachment, right-click its URL, select the Extract Target component action, specify the binary variable, and click Step Over.

    We do not recommend using this option to view large attachments.

  6. Use the result from the Get message content component action to extract an email in MIME format to a text variable.

  7. Use the text value variable to open the email as HTML using the Email step again with the Open email as HTML action.

Attachment properties

Property Description

Application name

Specify the name for the application.

Email message

Specify the email to be opened as a text value.

Include all headers

Select this option to view all headers in the resulting web page.

By default, the step includes only basic header information such as From, To, Subject, Date, and Message-ID.

Decode header values

By default, this option is selected.

Decodes header values into Unicode.

This option is common to email clients and displays non-English text.

Inline CID image tags

By default, the tags are inline.

Sets content-specified images to be inline as tags.

Only applies to the text variant of an email.

Inline attachments

Specifies attachments to be inline.

If you select this option, the attachment table contains data URLs that you can use to download using the browser.