Insert HTML Code into Your Email Template
Introduction
Section titled “Introduction”The template editor is visual, but you can also edit the email’s HTML directly. Use it to paste a design from an email builder, or to fine-tune the layout.
Step 1: Open the Source Code
Section titled “Step 1: Open the Source Code”Open a template, then click the Source code button (<>) in the body toolbar. You can also open View → Source code in the menu bar.
Step 2: Edit the HTML
Section titled “Step 2: Edit the HTML”A window shows the body’s HTML. Paste or change the code, then click Save.

- Use inline styles. Many email clients, including Gmail, ignore
<style>blocks and external stylesheets. - Keep the layout simple, such as one column or simple tables, so it works on phones.
- Merge tags such as
{{First Name}}work inside the HTML too, including in links and image addresses. - The editor may tidy the HTML when you save, for example by removing scripts. Check the result in the campaign’s Preview tab and send yourself a test.
New to BetterMerge?Start free — 50 emails/day, no credit card. Questions? Contact support.
BetterMerge is an independent product not affiliated with, endorsed by, or connected to Google LLC. Gmail, Google Sheets, Google Workspace, and Google Workspace Marketplace are trademarks of Google LLC.