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 the text value.

Before the Email step, insert the Read File and Assign steps. Perform the following actions.

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

  2. 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.

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 (for example, Subject) is displayed. Below it, a table lists available attachments.

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 if you want 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

Select to decode header values into Unicode. This is common to email clients and helps to display non-English text.

By default, this option is selected.

Inline CID image tags

Specifies if content-specified images should be inlined as tags. Only applies to the text variant of an email.

By default, the tags are inlined.

Inline attachments

Specifies if attachments should be entirely inlined. If you select this option, the attachment table will contain data URLs which you can use to download the data using the browser.

To view the 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.

Use the result from the Get message content component action to extract an email in MIME format to a text variable. Use this text variable to open the email as HTML using the Email step again with the Open email as HTML action.