Create Email Template with Raw HTML

Use the Raw HTML flow to create an email template with your own HTML code. This option lets you configure the template properties on the New Email Template page, build the message in the HTML editor, preview the result, and then save the template.


Create Email Template

Use the New Email Template page to configure your raw HTML email template, preview how it will appear in the inbox preview, and then save it for later use in your email workflows.

Before You Begin

Before creating email templates, make sure you have:

Step 1: Open the Template Creation Page

To start creating a new email template, open the Email Templates list and choose the Raw HTML flow.

  1. In the left navigation menu, go to Email → Templates.

  2. In the top-right corner of the page, click Create New.

  3. In the Create Email Template modal, select Raw HTML.

Email Templates page with the Create Email Template action

Fig. 1. Email Templates page with the Create Email Template action

Step 2: Configure Template Details

Fill in the following fields:

  • Name: Enter a name for your email template. This name is for internal reference and will help you identify the template later.

  • Subject: Specify the subject line of the email, which will be displayed to recipients.

  • Custom Preview text: Enter custom preview text that appears next to the subject line in recipients’ inboxes.

  • Personalize Send To: Toggle this option on if you want to personalize the email based on contact-specific attributes.

  • Track Email Open: Enable this option to track whether recipients open the email. Tracking can provide valuable engagement metrics.

Note

Some fields allow you to add placeholders like {{contact.first_name}} or {{company_address}} to dynamically insert information based on workspace and contact attributes.

New Email Template page for the Raw HTML flow with Name, Subject, custom preview text, tracking, Email Content, and Attachments fields

Fig. 2. New Email Template page for the Raw HTML flow

Step 3: Open the HTML Editor

In the Email Content section, click Open HTML Editor.

Open HTML editor

Fig. 3. Open HTML editor

Step 4: Enter HTML Code

  • In the right pane, use the code editor to enter or paste your HTML code. The editor supports syntax highlighting, making it easier to structure and read your code.

  • The Beautify HTML option is available to automatically format your HTML for better readability.

Note

You may use the placeholders panel on the left to insert workspace placeholders and contact attributes.

HTML editor used to create email content in the Raw HTML flow

Fig. 4. HTML editor

Step 6: Preview the HTML Template

In the top-right corner of the page, click Preview Template.

Preview Template button in the Raw HTML editor

Fig. 5. Preview Template button

The preview feature allows you to see how the email will appear on desktop, tablet, and mobile devices. This is especially useful for checking the layout, styling, and overall appearance to ensure the HTML renders as expected across different views.

In preview mode, you can interact with links and review the layout as recipients will see it, allowing you to make adjustments before finalizing the template.

Raw HTML template shown in preview mode with desktop, tablet, and mobile view buttons

Fig. 6. Preview Template

Step 7: Confirm Changes

Once you are satisfied with your HTML template, click Confirm Changes to save the changes and return to the New Email Template page.

Confirm Changes button in the Raw HTML preview

Fig. 7. Confirm Changes button

Step 8: Add Attachments (Optional)

Attachments can be added in the Raw HTML flow to enhance your template by including supporting documents such as PDFs, images, or other files that complement the message content.

  1. In the Attachments section, click Add Attachment.

  2. Select the file you want to attach to the email template.

  3. Click insert to attach the file to your email.

Note

File size must not exceed 15 MiB.

Attachments section in the New Email Template page for the Raw HTML flow

Fig. 8. Attachments section in the New Email Template page

Step 9: Send a Test Email (Optional)

To preview the email’s appearance and content before saving the template, you can send a test email.

  1. Review the inbox preview on the right side of the page as you configure the template.

  2. Click Send Test Email.

  3. Input the test email delivery details:

    • From address: Select the email address you want to display as the sender.

    • To address: Enter the recipient’s email address where the test email will be sent.

    • Reply-to Address: Specify the email address to which replies will be directed. If left empty, the reply-to address will be the same as the sender’s email address.

    • Send Attachments: Toggle this option on if you want to include any attachments that are part of the email template.

    • Contact: Choose a contact from the dropdown list if you want to populate placeholders with actual contact data.

  4. Click Send to deliver the test email.

Send Test Email modal in the New Email Template page

Fig. 9. Send Test Email modal in the New Email Template page

Step 10: Submit the Template

When the template is ready, click Submit at the bottom of the page to save it.

Submit button at the bottom of the New Email Template page

Fig. 10. Submit button for saving the Raw HTML template


Edit or Delete Templates

Use the template actions menu to edit or delete an existing email template.

Warning

Before deleting a template, make sure it is not used by any active or scheduled broadcasts or automations.

To edit or delete a template:

  1. Go to Email → Templates.

  2. Locate the template you want to manage.

  3. Click the actions menu for that template.

  4. Select Edit to update the template, or Delete to remove it permanently.

Templates actions menu with Edit and Delete options

Fig. 11. Templates actions menu