|SecretsEmail deliverability guidesAudit your template
All inboxes

HTML Email Template Checklist: 20 Checks Before You Send

October 2026 6 min read
HTML code and structurepassOutlook renderingpassImages and alt textfixSize under 102KBpassLinks and unsubscribepass

Many emails that break or land in spam are not ruined by their message. They are ruined by a missing image size, a layout classic Outlook can't read, a template that grew past Gmail's clipping point, or a link a filter doesn't trust. All of that lives in the HTML, so all of it can be checked before you press send. These are the 20 checks worth running on every template, grouped by where they fail, each with its fix.

HTML code and structure

  1. Start with a doctype and a character set. Without <!DOCTYPE html> and <meta charset="utf-8">, clients guess the encoding, and a wrong guess turns quotes, accents and emoji into garbage.
  2. Lay out with tables, 600 to 800 pixels wide. Flexbox, grid, floats and position are ignored by several major clients, classic Outlook for Windows first. Add role="presentation" to layout tables so screen readers skip them.
  3. Inline the styles the layout depends on. Some clients and forwarding paths drop <style> blocks, and most clients ignore linked stylesheets.
  4. Remove scripts, forms and buttons. Most mail clients strip or disable <script>, <form>, <button> and onclick attributes, and filters treat them with suspicion. A button in email is a padded link with a background color.
  5. Close every tag. Clients repair markup errors in different ways, so one unclosed table cell can push a section out of place in one inbox and nowhere else.
A safe starting skeletonHTML
<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="utf-8">
  <meta name="viewport" content="width=device-width, initial-scale=1">
  <meta name="color-scheme" content="light dark">
  <meta name="supported-color-schemes" content="light dark">
  <title>Spring sale: 40% off</title>
</head>
<body style="margin:0; padding:0;">
  <table role="presentation" width="100%" cellpadding="0" cellspacing="0" border="0">
    <tr><td align="center">
      <table role="presentation" width="600" cellpadding="0" cellspacing="0" border="0">
        <tr><td style="padding:24px; font-family:Arial, sans-serif;
                       font-size:16px; line-height:1.5;">
          Live text goes here.
        </td></tr>
        <tr><td style="padding:0 24px 24px; font-family:Arial, sans-serif;
                       font-size:12px; line-height:1.5;">
          Your Company, 123 Main Street, Springfield, IL 62701.
          <a href="{{unsubscribe_url}}">Unsubscribe</a>
        </td></tr>
      </table>
    </td></tr>
  </table>
</body>
</html>

Outlook and rendering

  1. Reset every layout table. Put cellpadding="0", cellspacing="0" and border="0" on it and set spacing as padding on cells. Margins on <div> and <p> are unreliable in Outlook.
  2. Give buttons and background images an Outlook fallback. Classic Outlook for Windows lays out email with Word's engine, so rounded buttons and background images need VML inside <!--[if mso]> comments.
  3. Plan for dark mode. Declare the color schemes you support, check that text stays readable when a client inverts colors, and put logos on a solid plate, not a transparent background. Why dark mode breaks emails shows what happens otherwise.
  4. Keep text readable. 12px is the floor and 14 to 16px suits body copy, contrast should pass WCAG AA, line height should be at least 1.2, and the font stack should end in a web-safe font.

Images

  1. Set width and height on every image. Add the width and height attributes plus display:block and border:0. Without dimensions the layout jumps while images load and collapses when they are blocked.
  2. Write alt text that says what the image says. "Summer sale: 40% off", not "banner.jpg", and alt="" on purely decorative images.
  3. Serve images over https, never as base64. Insecure http images can be blocked or flagged, and data: images are blocked by several clients and add to the size.
  4. Keep real text next to big images. A banner-only email is the layout filters trust least, and it shows an empty box when images are off.

Size

  1. Keep the HTML under 102KB. Gmail clips longer messages behind a "View entire message" link, and the cut usually lands on the footer, where the unsubscribe link and the tracking pixel live. Exports from drag-and-drop builders are often the heaviest: deep nesting and the same inline styles repeated on every element.

Deliverability signals inside the template

  1. Include a visible unsubscribe link and your physical postal address. CAN-SPAM requires both in commercial email. If you send more than 5,000 messages a day to Gmail accounts, Google also requires one-click unsubscribe, a header your sending platform adds, not something the HTML can do.
  2. Write a preheader. The inbox preview shows the first text it finds, and without a preheader that is often "View in browser" or an alt text.
  3. Hide nothing. Hidden text blocks, zero-width characters, letters borrowed from other alphabets and words spelled out in HTML entities are old tricks for slipping past filters, and filters look for them.
  4. Go easy on the shouting. ALL CAPS, rows of exclamation marks, stacked currency symbols and spam-style phrases are weak signals one by one, but they add up, and heavy promotional styling is part of what sorts mail into Promotions.

Links

  1. Make every link honest. A visible web address should lead to that domain, no URL should hide an @ before the real host, lookalike punycode domains do not belong in mail, and public shorteners lend you everyone else's reputation. Use one branded tracking domain. Links that get emails flagged covers each trap.
  2. Keep links few, working and direct. No href="#" or empty links, about nine links at most in a regular email (our heuristic, not a provider rule), no URL repeated over and over, and every link reaching its page over https without a chain of redirects.

Then test in real inboxes

No checker replaces a real inbox. Send tests to Gmail, classic and new Outlook, Apple Mail and Yahoo, and look at each one twice: once with images off and once in dark mode.

What a template check cannot fix

The template is half of deliverability. The other half lives outside the HTML: SPF, DKIM and DMARC authentication, the reputation of your sending domain and IP, the quality of your list and how readers respond. A clean template from a domain with a poor reputation still lands in spam. The reverse happens too: a healthy domain held back by its template.

Check your HTML email automatically

Paste your template into the Faulterly analyzer. It checks the HTML for the problems on this list, from a missing doctype to shorteners and broken links, and shows the score and how many issues each area has, free and with no signup. Unlocking the full report gives the exact line and a fix for each issue.


Related

Get a free expert review

Leave your email and our specialists will reach out to make your template first-class.

Run these checks against your own template, free, no signup.

Open the analyzer