Skip to main content
Roberty Studio
RPAEmail

Get an e-mail text

Get an e-mail text

Extracts the plain text content of an e-mail obtained by the Get e-mail from list action, removing all the HTML formatting. Ideal for processing, recording or using the message body without having to deal with HTML markup.


Options​

E-mail​

Select the Get e-mail from list action that references the e-mail whose text will be extracted.

Returns​

Custom code​

js
actions["action-id"].text // plain text content of the e-mail, without HTML formatting (Text)

Field selection​

  • text — plain text of the e-mail body (Text)

Rules and Conditions​

  • The E-mail field is required.
  • All the HTML formatting is removed — only the visible text is returned.
  • The action referenced must be of the Get e-mail from list type.