You can use HTML tags in Lightning email templates and in templates created with Email Template Builder. Make sure that the content you add appears correctly in emails viewed in Outlook.
Required Editions
| Available in: Lightning Experience |
| Available in: Essentials, Professional, Enterprise, Performance, Unlimited, and Developer Editions |
| Available in: Lightning Experience for email templates created in Email Template Builder and Email Content Builder |
| Available in: Professional, Enterprise, Unlimited, Performance, and Developer Editions. |
| Available in: Account Engagement Lightning App for all Account Engagement editions |
In Lightning email templates, you can use HTML anywhere. To use HTML, you add it in Source mode. In Email Template Builder templates, HTML components, rich text components, and custom components use HTML tags.
Don’t mix border and border-width instructions with padding, margin, and height information
in <style> tags. Instead, combine one, two, or more components into
one rich text component in a row, and set the margin to 0 in the rich text Style tab.
Important To make sure that your email looks as you intend it to in Outlook,
after adding HTML, test it in an email testing tool, such as Litmus. Or try copying and
pasting the HTML into a Microsoft Word document to see how the HTML appears.