Email Campaign HTML Editor

1. Feature Overview

The HTML Editor of the Email Campaign feature allows you to build custom email templates from scratch or make changes to pre-existing templates/drafts. To know more about how to use this editor, see Bee Editor.


  • If you’re not familiar with HTML, you can also use existing email templates, blank emails, or the ‘copy from sent’ option to send emails.
  • If you’re using HTML to send emails, you can opt to create the template from scratch using –
    • The rich text editor.
    • The ‘Paste your HTML’ option.
    • The plain text editor.
  • To know more about creating email campaigns, see Create and Schedule Email Campaigns.
  • To control email settings related to subscriptions, senders, and recipients, see Email Settings – Feature Guide.


2. Prerequisite

  • You must be the Administrator or the Marketing User of your LeadSquared account.
  • You must have developer experience using HTML and CSS.


3. Create Email Campaigns using HTML

  1. Navigate to Marketing>Email Campaign and click Create Email Campaign.
  2. In step 1, under How would you like to create Email?, click Use HTML.
  3. Select an HTML Editor.
    • If you want to write your own HTML code and add rich text content (like coloured text, bold text, headings, etc.), select Use Rich-Text editor.
    • If you have a pre-written or third-party HTML code for the email, you can directly paste it into the editor by selecting the Paste your HTML option. This option is chosen in the gif shown below.
    • If you want to create a simple text email campaign without images and attachments, select Use Plain-Text editor.
  4. Once you finish writing your HTML message, click Text Message.
  5. Click Copy from HTML Message.
  6. On the right side of your screen, under Send Test Emails, enter the relevant email address(es) and click Send. It is mandatory to send test emails before moving on to the next step.
  7. Click Save and then click Next to move on to the next step.

Note: Creating a text message along with HTML is a mandatory requirement to meet the CAN-SPAM guidelines. If the HTML message is not delivered for any reason, the text email is sent to the inbox of the recipient. To know more about the CAN-SPAM guidelines, see How to Prevent Emails from Ending up in the Spam Folder.

LeadSquared - Create Email Campaigns using HTML


4. Other Actions in HTML Editor

  • To add a link in your email, click   and enter the relevant details.
  • To add an image in your email, click Insert Image. You can upload the image from your computer or from the Image Library.
  • To add a document/file in your email, click Insert File.
  • To personalise your email, click the Mail Merge Fields dropdown and select the relevant field. For example, if you want to include the lead’s first name in the message, click the dropdown and select First Name. To know more about Mail Merge fields, see How to personalize Email Campaign using Mail Merge fields?
    • You can also add mail merge fields in your text by selecting the fields under Email Personalisation on the right side of your screen.
  • You can add special links such as Mailing Preference, Unsubscribe, and View in Browser by clicking the Special Links dropdown.
  • To use a pre-existing template, click Use Email From Library.
  • To save the campaign as an email template, click Save as Template.


  • If you use a pre-existing template after you’ve started writing the code, your work may not be saved.
  • To create email templates, navigate to Content>Email Library and click Add Email Template.  You can select the type of Email Template you want to add on the Add Email Template pop-up window. The editors you use here are the same as the ones you use while creating an email campaign.

Other Actions in HTML Editor


Any Questions?

We’d love to answer your questions or hear your own unique use cases. Feel free to share your experiences in the comments section below.

Was this Helpful?