---
schema_version: "1"
id: efd45023b8bf01e41eeeafd8da93a376b5cb9b950399de322ca74b7154e6dbe4
title: Create Custom HTML Email Templates in Salesforce Classic
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/sales/264-0-0/creating_custom_html_email_templates.md
canonical_url: https://help.salesforce.com/s/articleView?id=sales.creating_custom_html_email_templates.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: 6a5082c45d34ecde13a2f801f792852ebb0931981a262d46ea5a419c966bbc2c
description: You can create custom HTML email templates without using Classic Letterhead. If you don’t know HTML, you can paste HTML code into your template.
products:
  - Sales Cloud
  - Cross Cloud
  - Service Cloud Voice
release: "264"
---
# Create Custom HTML Email Templates in Salesforce Classic

You can create custom HTML email templates without using Classic Letterhead. If you don’t know HTML, you can paste HTML code into your template.

### Required Editions

<table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small edition">
        <colgroup>
          <col>
        </colgroup>
        <tbody>
          <tr class="">
            <td class="slds-cell-wrap" style="vertical-align:top;">Available in: Salesforce Classic and Lightning Experience</td>

          </tr>
          <tr class="">
            <td class="slds-cell-wrap" style="vertical-align:top;">Available in: <strong>All</strong> Editions, except
              <strong>Personal</strong>
            </td>

          </tr>
          <tr class="">
            <td class="slds-cell-wrap" style="vertical-align:top;">
              <p style="margin-bottom:0;" id="creating_custom_html_email_templates__mass_email_edition_exceptions"><a name="creating_custom_html_email_templates__mass_email_edition_exceptions"><!-- --></a>Mass email not available in: <strong>Personal</strong>,
                <strong>Contact Manager</strong>, and <strong>Group</strong> Editions
              </p>
            </td>

          </tr>
          <tr class="">
            <td class="slds-cell-wrap" style="vertical-align:top;">
              <p style="margin-bottom:0;">HTML and Visualforce email templates not available in: <strong>Personal</strong>
                Edition</p>
            </td>

          </tr>
        </tbody>
      </table> <table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small permission">
        <colgroup>
          <col style="width:50%">
          <col style="width:50%">
        </colgroup>
        <thead class="slds-text-title_caps ">
          <tr class="">
            <th scope="colgroup" class="slds-cell-wrap" colspan="2" style="text-align:center;vertical-align:top;" id="d109717e96">User Permissions
              Needed</th>
          </tr>
        </thead>
        <tbody>
          <tr class="">
            <td data-label="User Permissions Needed" class="slds-cell-wrap" style="vertical-align:top;" headers="d109717e96 ">To create or change custom HTML email templates:</td>

            <td class="slds-cell-wrap" style="vertical-align:top;" headers="d109717e96 ">Edit HTML Templates</td>

          </tr>
          <tr class="">
            <td data-label="User Permissions Needed" class="slds-cell-wrap" style="vertical-align:top;" headers="d109717e96 ">To create or change public email template folders:</td>

            <td class="slds-cell-wrap" style="vertical-align:top;" headers="d109717e96 ">Manage Public Classic Email Templates</td>

          </tr>
        </tbody>
      </table>

![Note](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-sales-sales_productivity-264-0-0-production-enus/b2f6c36a-fa61-4a3c-9752-032ce1818a69/images/icon_note.png)

Note If you’re using a free org, such as a Developer org, you can have up to 500 email templates, of any kind, in that org.

HTML email templates can be used, but not created, in Lightning Experience.

1. Choose one of these options.
    - If you have permission to edit public templates, from Setup, enter Email Templates in the Quick Find box, then select **Classic Email Templates**.
    - If you don’t have permission to edit public templates, go to your personal settings. Enter Templates in the Quick Find box, then select **Email Templates** or **My Templates**—whichever one appears.
2. Click **New Template**.
3. Choose Custom (without using Classic Letterhead) and click **Next**.
4. Choose a folder in which to store the template.
5. To make the template available for use, select the **Available For Use** checkbox.
6. Enter an email template name.
7. If necessary, change the Template Unique Name. This unique name refers to the component when you use the Lightning Platform API. In managed packages, this unique name prevents naming conflicts in package installations. This name can contain only underscores and alphanumeric characters, and must be unique in your org. It must begin with a letter, not include spaces, not end with an underscore, and not contain two consecutive underscores. With the Template Unique Name field, you can change certain components’ names in a managed package and the changes are reflected in a subscriber’s organization.
8. If desired, choose a different character set from the Encoding dropdown list.
9. Enter a description for the template. Both the template name and the description are for your internal use only. The description is used as the title of any email activities you log when sending mass email.
10. Enter a subject for the message.
11. Click **Next**.
12. Enter the HTML source text for the message. Include all the HTML tags.
    
    ![Note](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-sales-sales_productivity-264-0-0-production-enus/b2f6c36a-fa61-4a3c-9752-032ce1818a69/images/icon_note.png)
    
    Note If you are including an image, we recommend uploading it to the Documents tab. Then you can reference the copy of the image on our server. For example:
    
    ```html
    <img src="https://yourInstance.salesforce.com/servlet/servlet.ImageServer?
    id=015D0000000Dpwc&oid=00DD0000000FHaG&lastMod=1270576568000"/>
    ```
13. If desired, enter merge fields in the template subject and body. When you send an email, these fields are replaced with information from your lead, contact, account, opportunity, case, or solution.
14. Click **Next**.
15. If desired, enter the text-only version of your email or click **Copy text from HTML version** to automatically paste the text from your HTML version without the HTML tags. The text-only version is available to recipients who can’t view HTML emails.
    
    ![Warning](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-sales-sales_productivity-264-0-0-production-enus/b2f6c36a-fa61-4a3c-9752-032ce1818a69/images/icon_warning.png)
    
    Warning We recommend that you leave the text-only version blank. If you leave it blank, Salesforce automatically creates the text-only content based on the current HTML version. If you enter content manually, subsequent edits to the HTML version aren't reflected in the text-only version. When left blank, the text-only content is automatically created when sending an email via the UI. If you use that same template to send email via the API or APEX, you must provide the text-only content. Remember to update text-only content when you change the HTML content.
16. Click **Save**.

![Tip](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-sales-sales_productivity-264-0-0-production-enus/b2f6c36a-fa61-4a3c-9752-032ce1818a69/images/icon_tip.png)

Tip View a sample of the template populated with data from records you choose and send a test email by clicking **Send Test and Verify Merge Fields**.

![Note](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-sales-sales_productivity-264-0-0-production-enus/b2f6c36a-fa61-4a3c-9752-032ce1818a69/images/icon_note.png)

Note You can’t modify the content of a custom HTML template when you use it in an email.

#### See Also

- [Create HTML Classic Letterhead Email Templates in Salesforce Classic](https://help.salesforce.com/s/articleView?id=sales.creating_html_email_templates.htm&release=264.0.0&type=5 "You can create HTML-based email templates using Classic letterhead. You can’t change the layout in an existing template, but you can update the Classic letterhead associated with the template. To create a letterhead email template, you must have at least one active Classic letterhead.")
- [Create Visualforce Email Templates in Salesforce Classic](https://help.salesforce.com/s/articleView?id=sales.creating_visualforce_email_templates.htm&release=264.0.0&type=5 "Use the Visualforce programming language to create targeted and personalized email content.")
- [Add Images to Email Templates in Salesforce Classic](https://help.salesforce.com/s/articleView?id=sales.email_template_images.htm&release=264.0.0&type=5 "You can include images, such as logos, in your custom HTML and Visualforce email templates. Salesforce allows you to use style tags to add external or internal images to an email.")