HTML / Rich Text Support for Email to Case Premium


Email to Case Premium currently relies on the use of Case Comments, and Salesforce does not support rich text (HTML) in case comments nor do they have any immediate plans to incorporate rich text into Case Comments. Since our last major release of this application, the product team at Vicasso has devoted a heavy focus on evaluating rich text capabilities for Email to Case Premium. Starting in version 5.00 of Email to Case Premium, Vicasso has added functionality to support Rich Text (HTML) on the packaged New Comment page. For more information on the setup, features, and limitations, please see the details outlined below.



A new setting titled "Enable Enhanced Comment Editor" has been added to the Email to Case Premium Outbound Configuration page. When enabled, the New Comment page will display a new rich text editor.

User-added image


Upon enabling the setting above, you will also need to update your email templates to use the new "Most Recent Public Comment (HTML)" merge field. For ease, we've included a template in this latest version titled "New Comment Personal HTML (VF)" that already includes this merge field.

Note: Please ensure that all Email to Case Premium end users have been assigned the "E2CP End User" permission set. This will ensure that they are able to access the new merge fields.

User-added image


Support for the New Comment page:

User-added image

The new rich text editor on the New Comment page will allow for outbound responses to include the following formatting options:

  • Bold
  • Italics
  • Underline
  • Text Alignment
  • Bulleted and Numbered Lists
  • Indented Content
  • Tables
  • Links
  • Inline Images (see below for additional specifics)
  • Code Samples

Support for Canned Comments:

The new rich text editor is also available when editing Canned Comments. All of the same formatting features are available along with the insertion of merge fields. 

User-added image

Inline Image Support:

Inline images added on the New Comment page will be added as Files on the Case. Please consider adding the Files related list to your Case page layouts and configuring Email to Case Premium to handle Files per the following knowledge article.

In order to insert inline images, you must enable the following settings under Setup | Build | Customize | Salesforce Files | Settings | Content Deliveries and Public Links:
  • ​Content Deliveries feature can be enabled for users
  • Public Links can be enabled for users (Requires Content Deliveries)
The Content Deliveries and Public Links section also includes a preference for password protection defaults. Setting password protection to "required" will throw an error and prevent inline images from being inserted in both Canned Comments and the New Comment page. As such, it's recommended selecting one of the remaining options where password protection is optional.

If the Content Deliveries and Public Links section does not appear in your Org, please open up a case with Salesforce Support to have the section exposed.

Viewing HTML Emails:

User-added image

User-added image

In order to view the HTML of an Email Message (both inbound and outbound), you would traditionally need to open up the Email Message record in a new window and click the link titled "Click here to view HTML version". We have simplified this process in the latest version of Email to Case Premium by packaging an existing add-on of ours called Case Presentation Layer. Please review the documentation here for setup instructions of Case Presentation Layer.

Features of Case Presentation Layer include:
  • Easy view of HTML emails associated with case comments
  • Separate buttons for public and private case comments
  • Open List button to review a full list of all case comments added on a case
  • Ability to track Status and Ownership changes
  • Case comment filtering


  • Outbound emails sent from the New Comment page will contain the rich text the agent had entered and are visible when viewing the actual email sent., but the Case Comments will continue to be stored in Salesforce as plain text.
  • Rich text included on inbound emails will not be saved to the Most Recent Public Comment (HTML) field.
    • If you're using Workflow, Process Builder or Email Distribution to notify agents of new comments, and are include the content of the comment within those notifications, the content will be received in plain text only.
      • When using Email Distribution, agents will be eligible to receive Files / Attachments added as part of the latest comment.
  • The History Text field which is used in email templates to display a chronology of the most recent 25 public case comments will also continue to be stored as plain text.
  • Images / Charts which are copy / pasted in to the New Comment page rather than inserted per the rich text editor may not retain formatting as expected.
    • External sources of formatted text (for example, copying from a web page) may include HTML code or require external styling and will produce unexpected results. If this occurs, you can use the source code view to eliminate any unexpected HTML code.
    • Additional white space may appear between paragraphs when copied from an external source such as MS Word / Google Docs.
  • The Enhanced Comment Editor is available on desktop only, and does not apply to the New Comment mobile action.


Open a Case

Powered by