Litmus’s market share tracker puts Apple Mail and Gmail at nearly 90% of tracked email opens. That means a responsive HTML email template that looks perfect in Outlook but falls apart on an iPhone fails most of your list. This shortlist covers the templates, frameworks and builders that still hold up in 2026. For each one you get the cost, the licence, whether anyone still maintains it, and a starter file you can copy.
Key takeaways
- Cerberus’s hybrid pattern is the safest free starting point, because its columns stack even where media queries are ignored.
- MJML 5 is the best framework for building your own templates. It needs Node 20, 22 or 24.
- Foundation for Emails is being folded into Inky v2, which is still in beta, and the old repo only gets maintenance updates.
- Beefree’s web builder is now called RGE Studio. Stripo and RGE Studio both have free tiers with limits on exports.
- Keep the final HTML well under Gmail’s 102KB clip, and keep coding for classic Outlook, which stays supported until at least 2029.
Fact-checked
We checked these key facts against the sources named, on November 24, 2026:
- Gmail shows the first 102KB of an email’s HTML and hides the rest behind a ‘View entire message’ link (source: spamresource.com)
- In 2026 it’s being folded into Inky v2, so don’t start a new project on the old version. The Inky repository on GitHub says Foundation for Emails is being merged into Inky v2, with everything under the Inky brand (source: github.com)
- The viewport tag stops mobile clients from shrinking the email to a tiny desktop rendering (source: litmus.com)
- The tags match the layouts designers already sketch in Figma: sections, columns, images, buttons (source: mjml.io)
- Some templates add a long run of after the preheader so the inbox preview doesn’t pull in body text (source: litmus.com)
Quick picks: the best responsive HTML email templates in 2026
Start with Cerberus if you code, MJML 5 if you build templates often, and Stripo or RGE Studio if you’d rather drag and drop. React Email and Maizzle suit developers who already use React or Tailwind CSS.
Best free template
Cerberus (hybrid) by Ted Goas. It’s free under the MIT licence, so you can use it for commercial and client work. It’s plain HTML you edit in any code editor, and it’s the best choice when you want one tested file you can understand line by line.
Best framework
MJML 5 from Mailjet. It’s free and open source (MIT). You write short MJML markup and it compiles to table-based HTML with the Outlook code already in place. Its latest release as of September 2026 is 5.4.1, and it is actively maintained.
Best visual builder
Stripo and RGE Studio (formerly Beefree). Both have free plans and large template libraries. Stripo’s free plan includes four exports a month. RGE Studio’s Professional plan costs $30 a month, or $25 a month billed annually (checked November 2026).
Best for developers
React Email by Resend (MIT) suits React teams, and version 6.0 added an open-source visual editor. Maizzle (MIT) suits Tailwind CSS users who want full control over the HTML it outputs.
How these resources were chosen
Every resource here is still offered on its maker’s site as of November 2026. Each was judged on five criteria, listed from most to least important:
- Rendering fit. Does the layout hold up in Apple Mail, Gmail and Outlook, including classic Outlook’s Word engine? This counts most, because a broken email costs you engagement on every send.
- Upkeep. Is the project maintained in 2026, in maintenance mode, or being folded into something else?
- Licence clarity. Can you use it for client and commercial work without attribution traps?
- Output weight. Does the exported HTML stay well under Gmail’s clip limit?
- Workflow fit. How much coding does it take, and does it fit how designers hand off from Figma?
The descriptions come from the makers’ pages, demos, documentation and changelogs.
Older roundups sometimes list a “Litmus Pook” template. Litmus doesn’t offer a current download under that name, so it isn’t included here. Some roundups also point to the wrong Cerberus page. The real project lives in Ted Goas’s GitHub repositories (now under emailmonday/Cerberus) and on npm as cerberus-email.
What “responsive” really means in HTML email
A responsive email template changes its layout to fit the screen. Usually that means multi-column sections stack into one column on a phone. There are three ways to do it, and they differ in how much they depend on CSS media queries.
Fluid vs hybrid vs media-query layouts
Each approach trades simplicity against control.
| Approach | How it works | Strength | Weakness |
|---|---|---|---|
| Fluid | Widths are set in percentages, so the layout stretches and shrinks | Simplest code, works almost everywhere | Columns get squeezed instead of stacking |
| Media-query (responsive) | @media rules change widths and stack columns below a breakpoint |
Precise control on mobile | Fails where media queries are ignored |
| Hybrid (“spongy”) | Inline-block columns with max-width, plus Outlook-only “ghost tables” |
Stacks with or without media queries | More code, heavier files |
Here’s how a two-column hybrid row behaves:
Desktop (600px container) Phone (375px screen)
+--------------+--------------+ +--------------+
| Column A | Column B | | Column A |
| max 300px | max 300px | +--------------+
+--------------+--------------+ | Column B |
+--------------+
The columns are inline-block elements with a 300px maximum width. When the screen is narrower than 600px they can’t sit side by side, so B wraps under A without any media query. Classic Outlook ignores max-width on divs, so a conditional “ghost table” gives it fixed 300px cells instead.
<!--[if mso]>
<table role="presentation" width="600" cellpadding="0" cellspacing="0"><tr><td width="300" valign="top">
<![endif]-->
<div style="display:inline-block; width:100%; max-width:300px; vertical-align:top;">
<!-- Column A content -->
</div>
<!--[if mso]></td><td width="300" valign="top"><![endif]-->
<div style="display:inline-block; width:100%; max-width:300px; vertical-align:top;">
<!-- Column B content -->
</div>
<!--[if mso]></td></tr></table><![endif]-->
Set font-size:0 on the parent so whitespace between the inline-block divs doesn’t add a gap, then reset the font size inside each column.
Hybrid is the safest default in 2026 because you can’t count on media queries. Can I Email (caniemail.com) lists Gmail’s media query support as partial, and the Gmail mobile app doesn’t apply them for non-Google accounts. Sources also disagree about desktop Gmail: Google’s May 2025 Gmail developer guide says Gmail supports most media queries, while developer testing reports desktop Gmail ignoring them. Classic Outlook has no media query support at all.
Designer tip
Start from a hybrid template such as Cerberus’s hybrid pattern. A client that ignores your media queries still stacks the columns, so the media query becomes an extra instead of something the layout depends on.
Why tables still matter
You still need tables for email layouts in 2026. Classic Outlook for Windows renders HTML with Microsoft Word’s engine, which doesn’t support CSS media queries and handles divs badly. It also isn’t going away soon (see the timeline below). Tables with role="presentation" keep the structure intact in Word and stay accessible to screen readers.
New Outlook for Windows is different. It uses a Chromium-based engine like Outlook.com’s and supports media queries, flexbox, background images and web fonts. Flexbox and CSS Grid still aren’t safe for your main layout, because classic Outlook ignores them and Gmail support is patchy. Only add them where a table already does the job.
The viewport meta tag and the 600px container
Put this in the <head> of every template:
<!DOCTYPE html>
<html lang="en" xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="x-apple-disable-message-reformatting">
<title>Autumn collection</title>
</head>
The viewport tag stops mobile clients from shrinking the email to a tiny desktop rendering. The <title> doesn’t set your subject line, which comes from the message header in your ESP. It shows in some browser views and helps screen readers.
The main container is usually 600px wide, sometimes 640px. That width fits preview panes in desktop clients and scales cleanly on phones. Build it as a max-width:600px element, with a fixed-width conditional table for Outlook.
Which inboxes your template must survive in 2026
Apple Mail and Gmail account for most opens, so mobile stacking and dark mode deserve more of your time than pixel-perfect Outlook. Outlook still matters, mostly for B2B lists, and it needs its own code.
Apple Mail and Gmail: most of your opens
Litmus Email Analytics measured more than 1 billion opens in July 2026. Apple Mail had 62.26%, Gmail 27.3% and Outlook desktop 5.83%. Shares move from month to month: a Litmus-sourced table for February 2026 showed Apple at 45.51%, Gmail at 23.54% and Outlook at 5.67%.
Apple Mail Privacy Protection (MPP) inflates Apple’s numbers. MPP preloads images through Apple’s proxy, so an open is counted for Apple Mail even when nobody read the email. Litmus says MPP opens also don’t pass along client version or platform details.
Did you know?
Litmus says Gmail’s image caching hides the Gmail client version and platform from its tracking, much as MPP does for Apple. Your two biggest clients are also the two you know least about at the device level.
| Client | Share of opens (Litmus, July 2026) | Rendering engine | Media queries | Dark mode behavior | Design implication |
|---|---|---|---|---|---|
| Apple Mail (iOS, macOS) | 62.26% | WebKit | Supported | Respects prefers-color-scheme |
Design mobile-first and write a proper dark mode style block |
| Gmail (web and apps) | 27.3% | Google’s own sanitized renderer | Partial, unreliable on desktop | Apps may partly or fully invert colors | Use hybrid stacking and logos that survive inversion |
| Outlook desktop | 5.83% | Word (classic) or Chromium-based (new) | None in classic, supported in new | Automatic color inversion | Use ghost tables, VML buttons and contrast-safe colors |
Feature support by client
The four engines you design for support very different features.
| Feature | Apple Mail | Gmail | Classic Outlook (Windows) | New Outlook / Outlook.com |
|---|---|---|---|---|
| CSS media queries | Yes | Partial | No | Yes |
prefers-color-scheme |
Yes | No | No | Limited, relies on its own recoloring |
| Web fonts | Yes | Generally no, fallback stack used | No, needs fallback handling | Yes |
| Background images | Yes | Yes | Only via VML | Yes |
| Flexbox | Yes | Limited | No | Yes |
Classic Outlook vs new Outlook for Windows
Yes, it’s still worth coding for classic Outlook now that new Outlook exists. Microsoft keeps pushing back the switch, and classic installs remain supported.
| Milestone | Date | What it means for email templates |
|---|---|---|
| Support ends for Office 2021 and its apps | October 13, 2026 | Outlook 2021 gets no more fixes, though many installs keep running |
| Enterprise opt-out phase for moving to new Outlook | Moved from April 2026 to March 2027 | Business users can stay on classic Outlook into 2027 at least |
| Classic Outlook support for perpetual and subscription licences | Until at least 2029, as reported by TechRepublic | Word-engine rendering stays relevant for templates you ship in 2026 and 2027 |
This is why an email can look fine in Gmail and break completely in Outlook. Gmail and new Outlook read modern CSS. Classic Outlook ignores max-width, margins on divs, background images without VML, and most of the CSS your template relies on. The fix is conditional MSO code, covered below.
Check your own list’s client mix
Market-wide figures are only a starting point. A B2B SaaS list can run heavily on Outlook, while a consumer fashion list can be mostly iPhones. Open your ESP’s client or device report before you pick a template, and spend your effort to match.
Designer tip
If Apple Mail and Gmail make up most of your opens, spend your QA time on mobile stacking and dark mode. Make sure classic Outlook is readable and on-brand, but don’t spend days chasing pixel-perfect spacing there.
1. Cerberus (Ted Goas): fluid, responsive and hybrid patterns
Cerberus is the top pick for a free, hand-editable responsive template that handles Outlook. It’s a small set of HTML patterns by Ted Goas under the MIT licence, and in 2026 it’s still offered from its GitHub repository and on npm.
What it includes. Cerberus ships three templates, one for each layout approach:
- Fluid: stacks or stretches without media queries. Best for simple single-column emails.
- Responsive: uses media queries for more complex layouts that change shape on mobile clients that support them.
- Hybrid: rearranges the layout whether or not media queries work. Start here for most client work.
How it handles Outlook. Every template includes MSO conditional comments, ghost tables and Outlook-specific resets. The Cerberus docs warn that this extra Outlook code makes templates large, so remove the sections you don’t use.
Format and requirements. Plain HTML files. You need a code editor and an ESP that accepts custom HTML. No build step, no Node and no account.
Price and licence. Free (checked November 2026). The MIT licence allows commercial use, client work and changes. Keep the licence notice if you redistribute the code itself. Sent emails need no attribution.
Best for. Designers who can read HTML and want one well-commented file to adapt for a brand. If you need a free responsive email template that really works in Outlook, this is it.
Limits. There’s no visual editor and no components. Every block is copied and edited by hand, so a big template library gets hard to manage. At that point a framework like MJML pays for itself.
2. MJML 5: the best framework for building your own templates

MJML is the strongest option if you build more than a handful of templates a year. Mailjet makes it: a markup language that compiles to responsive, table-based HTML, free and open source under the MIT licence.
Some roundups call MJML a drag-and-drop tool. It isn’t. You write MJML code, and visual editing comes from separate tools built on top of it.
What changed in MJML 5. Stable MJML 5.0.0 was published on April 16, 2026, and the latest release as of September 2026 is 5.4.1. The main changes:
- It targets Node LTS versions 20, 22 and 24, so older Node setups need upgrading first.
- It no longer converts old 3.x and early 4.x syntax on the fly. Legacy templates must be updated before they compile.
- Minification moved to htmlnano and cssnano.
- MJML 5.2.0 went back to js-beautify for formatting output, after trying Prettier and then Biome.
What a template looks like. A short MJML template with a hero image, a two-column row and a button:
<mjml>
<mj-body width="600px">
<mj-section>
<mj-column>
<mj-image src="[email protected]" alt="Autumn collection: wool coats" width="600px" />
</mj-column>
</mj-section>
<mj-section>
<mj-column><mj-text font-family="Arial, Helvetica, sans-serif">New arrivals</mj-text></mj-column>
<mj-column><mj-text font-family="Arial, Helvetica, sans-serif">Free returns</mj-text></mj-column>
</mj-section>
<mj-section>
<mj-column><mj-button href="{{cta_url}}" background-color="#1a56db">Shop now</mj-button></mj-column>
</mj-section>
</mj-body>
</mjml>
Compile it with the CLI:
npx mjml input.mjml -o output.html
Those few lines become nested tables, media queries for column stacking, and MSO conditional code for Outlook, which would take hundreds of lines to write by hand.
Migrating from MJML 4. Upgrade Node to version 20 or later, update any 3.x-style tags and recompile every template. Then compare old and new output in a rendering tool, since the new minifier can change whitespace and CSS output slightly.
Learning curve. About a day for anyone who knows HTML. The tags match the layouts designers already sketch in Figma: sections, columns, images, buttons.
Best for. Agencies and in-house teams that reuse a component system across many emails. Limits. You need Node or an editor plugin to compile, and you’re relying on MJML’s choices about Outlook output.
3. Foundation for Emails and Inky (ZURB): now moving to Inky v2
Foundation for Emails by ZURB was one of the best-known responsive email frameworks. In 2026 it’s being folded into Inky v2, so don’t start a new project on the old version.
Project status. The Inky repository on GitHub says Foundation for Emails is being merged into Inky v2, with everything under the Inky brand. The templating engine has been rewritten in Rust, with bindings for JavaScript (via WASM), PHP, Python, Ruby and Go. The old Foundation for Emails repo now gets only maintenance updates. v2 is still a pre-release: RubyGems lists version 2.0.0.pre.beta.8 dated March 31, 2026, and PyPI has 2.0.0 beta builds.
What Inky does. Inky is a templating language. You write simple tags for rows, columns and buttons, and it converts them into the full table markup emails need. Because of the Rust rewrite, a PHP, Python, Ruby or Go backend can render templates without a Node build step.
ZURB’s free responsive email templates. ZURB still has free responsive email templates on its site. Its compatibility chart marks Outlook 2007 as supported, with known workarounds required, so test closely if your list includes older corporate Outlook installs.
Format, price and licence. HTML templates and a framework, free. Foundation for Emails was released under the MIT licence, so commercial use is allowed.
Best for. Teams already running Foundation for Emails who need a migration path, and backend developers who want Inky rendering in their own language. Limits. Until v2 leaves beta, documentation and examples will be a mix of old and new. Designers starting fresh will find MJML easier.
4. Stripo: the drag-and-drop builder with the biggest library

Stripo is a browser-based email builder with drag-and-drop and HTML editing, plus a library of more than 1,300 free and premium templates. It fits teams that want visual editing but sometimes need to change the code.
What it includes. A block editor, an HTML code editor, reusable modules and exports to many ESPs. The free plan also exports HTML, AMP HTML, PDF and images.
Price (checked November 2026).
| Plan | Price | Notable limits |
|---|---|---|
| Free | $0 | 2 users, 3 projects, 10 stored emails, 4 exports a month; no direct ESP export |
| Basic | $20 a month | More exports and ESP integrations |
| Medium | $45 a month | Larger teams and projects |
| Pro | $125 a month (recent third-party check) | Higher limits; enterprise pricing is custom |
Annual billing is cheaper. Third-party price figures have varied, so check Stripo’s live pricing page before you commit.
Licence in plain words. Under your plan, you can use emails you build in Stripo in your own or your clients’ campaigns. Premium templates are paid add-ons. Reselling templates as templates is a separate question, so read Stripo’s terms before you try it.
Best for. Marketers and designers who want to build without coding but still need a code view for fixes. Limits. Not many templates are free, and the four-export cap on the free plan runs out quickly during client revisions.
Licence note
Builder templates are licensed for use inside the builder and your campaigns. Don’t resell them as standalone template packs unless the terms explicitly allow it.
5. RGE Studio (formerly Beefree): drag-and-drop with a free tier
If you’re looking for Beefree, its web email and landing page builder now runs as RGE Studio under the Really Good Emails brand. Beefree announced the change on May 14, 2026, and reviewers report that accounts, templates and pricing carried over.
The Beefree SDK, the editor developers embed in their own apps, keeps the Beefree name.
What it includes. A drag-and-drop editor with a large template catalogue, HTML export and integrations with more than 20 ESPs.
Price (checked November 2026).
| Plan | Price | What you get |
|---|---|---|
| Starter | Free, no card needed | Limited saved designs and monthly exports |
| Professional | $30 a month, or $25 a month billed annually | 2 users, unlimited designs and exports, user roles, 4 HTML imports a month |
| Business | Higher; published figures vary | Approval workflows, several workspaces, brand guidelines |
Professional and Business both come with a 15-day free trial. Each extra Professional user costs $15 a month.
Best for. Small teams and freelancers who want a clean editor and fast client handoff. Limits. Builder exports carry extra wrapper code, so check the file size before sending (see the Gmail clipping section). The free tier is fine for trying it out but too limited for ongoing client work.
6. Maizzle: Tailwind CSS for email

Maizzle is a framework for building HTML emails with Tailwind CSS utility classes. It inlines the CSS and handles the post-processing email needs. It’s free under the MIT licence.
How it works. You write HTML templates with Tailwind classes such as bg-slate-50 or px-6. Maizzle builds production HTML with the CSS inlined, unused styles removed and the output minified. Unlike MJML, it doesn’t hide the table markup: you write the tables yourself and keep full control.
Version status. The 5.x line had several releases. The README for version 6 describes a Vite-powered framework that uses Vue components with Tailwind CSS. The setup changed between releases, so read the docs for the major version you install.
Format and requirements. HTML templates, built with Node. Best for. Front-end developers who already think in Tailwind and want an email design system that matches their product UI. Limits. You still need to know email HTML: tables, MSO comments and VML. Maizzle makes skilled coders faster but doesn’t replace that knowledge.
7. React Email: components for React teams

React Email by Resend lets you build emails as React components and render them to HTML that works in email clients. It’s open source under the MIT licence and widely used: Resend’s April 2026 post put it at about 2 million weekly npm downloads.
Recent releases. React Email 5.0, announced November 7, 2025, added a dark mode switcher, Tailwind 4 support, eight new components and a Resend integration for uploading templates. It also added support for React 19.2 and Next.js 16. React Email 6.0, released April 17, 2026, introduced an open-source visual editor, published as the standalone package @react-email/editor.
Best for. Product teams sending transactional email (receipts, password resets, onboarding) from a React or Next.js codebase. Limits. It’s built for developers more than designers and works best when the team already writes JSX. It works with any sending service, though some integrations center on Resend.
How to customize a template without breaking it
Most broken emails start as good templates and break during editing. Change the content, colors and images inside the existing structure, and only restructure the tables if you have to.
Customize a responsive template safely
- Duplicate the original file and keep it untouched for reference.
- Set brand colors in the inline styles, not only in the head style block.
- Replace fonts with a web font plus a web-safe fallback stack.
- Export images at 2x and set width attributes at 1x.
- Add alt text to every meaningful image.
- Rebuild buttons as bulletproof buttons with VML for Outlook.
- Write a real preheader and a complete footer with unsubscribe.
- Inline the CSS, minify, check the byte size, then test.
From Figma to email: widths, type and images
Design in Figma on a 600px-wide frame, plus a 375px frame for mobile. Use one column on mobile and no more than two or three columns on desktop. Stick to blocks you can build with tables: full-width images, text blocks, two-column rows and buttons.
Type. Apple Mail and new Outlook load web fonts, while Gmail and classic Outlook usually fall back. Always write a stack such as font-family: 'Inter', Arial, Helvetica, sans-serif;.
Check that the font licence allows commercial use. Most Google Fonts families use the SIL Open Font License, which allows commercial use, including in email. Paid foundry fonts often need a separate web or email licence. System fonts like Arial, Helvetica and Georgia don’t need a licence of your own.
When classic Outlook meets a web font it can fall back to Times New Roman. Add an MSO-only style that forces Arial:
<!--[if mso]>
<style> table, td, p, a, h1, h2 { font-family: Arial, sans-serif !important; } </style>
<![endif]-->
Images. Export at 2x from Figma (a 600px hero becomes 1200px) and compress the file. Then set the display size in HTML:
<img src="[email protected]" width="600" alt="Autumn collection: wool coats in three colors"
style="display:block; width:100%; max-width:600px; height:auto; border:0;">
The width attribute stops classic Outlook from showing the image at its full 1200px. The inline max-width lets it shrink on phones. Never put key text only inside an image, because many clients block images until the reader allows them.
Bulletproof buttons and Outlook conditional comments
A bulletproof button is built from HTML and CSS, with a VML fallback for classic Outlook. It shows up even when images are blocked and gives a proper tap target.
<!--[if mso]>
<v:roundrect xmlns:v="urn:schemas-microsoft-com:vml" xmlns:w="urn:schemas-microsoft-com:office:word"
href="{{cta_url}}" style="height:48px; v-text-anchor:middle; width:220px;"
arcsize="10%" stroke="f" fillcolor="#1a56db">
<w:anchorlock/>
<center style="color:#ffffff; font-family:Arial, sans-serif; font-size:16px; font-weight:bold;">Shop now</center>
</v:roundrect>
<![endif]-->
<!--[if !mso]><!-->
<a href="{{cta_url}}" style="background:#1a56db; border-radius:5px; color:#ffffff; display:inline-block;
font-family:Arial, sans-serif; font-size:16px; font-weight:bold; line-height:48px;
text-align:center; text-decoration:none; width:220px;">Shop now</a>
<!--<![endif]-->
Code inside <!--[if mso]> only runs in Word-based Outlook, and <!--[if !mso]><!--> hides the modern version from it. Keep buttons at least 44px tall so they’re easy to tap on phones.
Preheader and footer essentials
The preheader is the preview text shown next to the subject line. Put it first in the body and hide it visually:
<div style="display:none; max-height:0; overflow:hidden; mso-hide:all;">
Wool coats are back, with free returns until Sunday.
</div>
Some templates add a long run of ‌ after the preheader so the inbox preview doesn’t pull in body text. If you use it, keep it short and right after the preheader. A huge block adds weight and makes the code harder to maintain.
The footer needs a working unsubscribe link, your physical mailing address and a short line on why the reader is getting the email. Most ESPs insert the unsubscribe link with a merge tag. Use theirs so their one-click unsubscribe handling works.
Dark mode: keep your template readable
Each major client handles dark mode its own way. Apple Mail follows your CSS, while Gmail and Outlook apps may invert colors by themselves. Plan for the worst case: automatic inversion of a template that sends no dark mode signals.
First declare that your email supports both schemes, then add a dark style block for clients that read it:
<meta name="color-scheme" content="light dark">
<meta name="supported-color-schemes" content="light dark">
<style>
@media (prefers-color-scheme: dark) {
.body-bg { background-color: #121212 !important; }
.text-main { color: #f1f1f1 !important; }
.logo-light { display: block !important; }
.logo-dark { display: none !important; }
}
[data-ogsc] .text-main { color: #f1f1f1 !important; }
</style>
Outlook inversion and the contrast threshold
Outlook’s apps and Outlook.com recolor light backgrounds and dark text automatically, but often leave colors they consider dark enough alone. The results can look odd: a light brand panel turns charcoal while a mid-tone button keeps its color. Choose brand colors with strong contrast in both modes, and avoid pale grays for body text.
Outlook.com adds data-ogsc (text color) and data-ogsb (background) attributes to the elements it recolors, which is why the [data-ogsc] selector above works. Some Outlook views also rename classes with an x_ prefix. If a dark mode rule seems to be ignored there, add a copy of the selector with the prefix, such as .x_text-main.
Logos and images in dark mode
If your logo disappears or its background turns black in Outlook dark mode, the cause is nearly always a dark logo on a transparent background. There are three fixes:
- Add a subtle outline or glow. A 1 to 2px light stroke around a dark logo on a transparent PNG keeps it visible on both backgrounds.
- Swap logos. Include a light version that only shows under
prefers-color-scheme: dark. This works in Apple Mail but not in clients that ignore the media query. - Put the logo on a solid panel. A white rounded rectangle baked into the image behind the logo survives any inversion.
Designer tip
Before exporting, put the logo on two Figma frames side by side, one filled #FFFFFF and one filled #121212. If it doesn’t read clearly on both, fix it in Figma, where it’s quicker than debugging it in an inbox.
Testing light and dark
Check every send in at least three states: Apple Mail in dark mode, a Gmail app in dark theme, and Outlook with dark mode on. Look for text that disappears, logos that vanish and buttons with poor contrast. Litmus and Email on Acid show dark mode previews, but a real phone in dark mode catches problems previews miss.
Avoid Gmail clipping: keep templates under 102KB
Gmail shows the first 102KB of an email’s HTML and hides the rest behind a “View entire message” link. Clipping hides your footer and unsubscribe link. It can also cut off the open-tracking pixel, so those opens never get recorded.
| Factor | Detail | Fix |
|---|---|---|
| What is measured | The HTML source, not the full raw message | Measure the final HTML file after your ESP adds tracking |
| Encoding | In 2022 tests reported by Spam Resource, Base64-encoded HTML reached about 110KB before clipping | Don’t count on encoding to help; aim well under 102KB |
| Template bloat | Hybrid Outlook code, builder wrappers and repeated inline styles add up | Remove unused blocks, merge duplicate styles, minify |
| Tracking | ESPs rewrite every link with long tracking URLs | Use fewer links, or turn off tracking on footer links |
| Threading | Gmail groups test sends that share a subject line | Use a new subject line for every test |
What counts toward the limit
Everything in the HTML counts: the head style block, inline styles, MSO conditional code, comments, whitespace and every long tracking URL. Images don’t, because they load from a server. A big image won’t trigger clipping, but a long chain of tracked links can.
Minify and trim
Builders tend to export a lot of HTML. Trim first and minify second, and you can clean it up without breaking it:
- Delete sections and modules the email doesn’t use.
- Remove HTML comments, but keep the conditional comments that start with
[if mso]or[if !mso]. - Merge repeated inline style declarations where the builder allows it.
- Minify with a tool that leaves conditional comments alone. MJML 5’s built-in minification uses htmlnano and cssnano.
- Check the byte size:
wc -c output.html
Anything over about 90KB before ESP processing is too close to the limit, because link tracking adds more.
Testing without false clips
Gmail threads messages with the same subject line, so five test sends of one email can stack up in a single thread and show a clip warning the real send would never trigger. Change the subject line for each test, for example by adding “v2” or “v3”, so each test arrives as its own message.
A minimal hybrid starter template you can copy
The file below puts every pattern from this guide into one working starting point. It has an HTML5 doctype and email head, a hidden preheader, a 600px container with an Outlook conditional table, a two-column hybrid row, a bulletproof button, dark mode styles and a footer with an unsubscribe merge tag. Replace the {{...}} merge tags with your ESP’s syntax.
<!DOCTYPE html>
<html lang="en" xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="x-apple-disable-message-reformatting">
<meta name="color-scheme" content="light dark">
<meta name="supported-color-schemes" content="light dark">
<title>Autumn collection</title>
<!--[if mso]>
<noscript><xml><o:OfficeDocumentSettings><o:PixelsPerInch>96</o:PixelsPerInch></o:OfficeDocumentSettings></xml></noscript>
<style> table, td, p, a, h1 { font-family: Arial, sans-serif !important; } </style>
<![endif]-->
<style>
body { margin:0; padding:0; width:100%; }
table { border-collapse:collapse; }
img { border:0; display:block; height:auto; }
@media (prefers-color-scheme: dark) {
.body-bg { background-color:#121212 !important; }
.card-bg { background-color:#1e1e1e !important; }
.text-main { color:#f1f1f1 !important; }
}
[data-ogsb] .card-bg { background-color:#1e1e1e !important; }
[data-ogsc] .text-main { color:#f1f1f1 !important; }
</style>
</head>
<body class="body-bg" style="margin:0; padding:0; background-color:#f4f4f4;">
<!-- Preheader: inbox preview text, hidden in the body -->
<div style="display:none; max-height:0; overflow:hidden; mso-hide:all;">
Wool coats are back, with free returns until Sunday.
</div>
<!-- Full-width background wrapper -->
<table role="presentation" width="100%" cellpadding="0" cellspacing="0" class="body-bg" style="background-color:#f4f4f4;">
<tr><td align="center" style="padding:24px 0;">
<!-- 600px container: fixed table for classic Outlook, max-width div everywhere else -->
<!--[if mso]><table role="presentation" width="600" cellpadding="0" cellspacing="0"><tr><td><![endif]-->
<div class="card-bg" style="max-width:600px; margin:0 auto; background-color:#ffffff;">
<!-- Header logo (transparent PNG with a faint light outline) -->
<table role="presentation" width="100%" cellpadding="0" cellspacing="0">
<tr><td style="padding:24px;">
<img src="[email protected]" width="140" alt="{{brand_name}}" style="width:140px; max-width:140px;">
</td></tr>
</table>
<!-- Hero: 1200px file displayed at 600px -->
<img src="[email protected]" width="600" alt="Autumn collection: wool coats in three colors" style="width:100%; max-width:600px;">
<!-- Body copy with a web font and safe fallbacks -->
<table role="presentation" width="100%" cellpadding="0" cellspacing="0">
<tr><td class="text-main" style="padding:24px; font-family:'Inter', Arial, Helvetica, sans-serif; font-size:16px; line-height:24px; color:#1f2937;">
<h1 style="margin:0 0 12px; font-size:26px; line-height:32px;">Wool coats are back</h1>
<p style="margin:0;">Three colors, sizes XS to XXL, and free returns until Sunday.</p>
</td></tr>
</table>
<!-- Two-column hybrid row: stacks below 600px with no media query -->
<div style="font-size:0; text-align:center;">
<!--[if mso]><table role="presentation" width="600" cellpadding="0" cellspacing="0"><tr><td width="300" valign="top"><![endif]-->
<div style="display:inline-block; width:100%; max-width:300px; vertical-align:top;">
<p class="text-main" style="margin:0; padding:12px 24px; font-family:Arial, Helvetica, sans-serif; font-size:16px; line-height:24px; color:#1f2937; text-align:left;">New arrivals every Thursday.</p>
</div>
<!--[if mso]></td><td width="300" valign="top"><![endif]-->
<div style="display:inline-block; width:100%; max-width:300px; vertical-align:top;">
<p class="text-main" style="margin:0; padding:12px 24px; font-family:Arial, Helvetica, sans-serif; font-size:16px; line-height:24px; color:#1f2937; text-align:left;">Free returns within 30 days.</p>
</div>
<!--[if mso]></td></tr></table><![endif]-->
</div>
<!-- Bulletproof button: VML for classic Outlook, HTML link for everyone else -->
<table role="presentation" width="100%" cellpadding="0" cellspacing="0">
<tr><td align="center" style="padding:24px;">
<!--[if mso]>
<v:roundrect xmlns:v="urn:schemas-microsoft-com:vml" xmlns:w="urn:schemas-microsoft-com:office:word" href="{{cta_url}}" style="height:48px; v-text-anchor:middle; width:220px;" arcsize="10%" stroke="f" fillcolor="#1a56db">
<w:anchorlock/>
<center style="color:#ffffff; font-family:Arial, sans-serif; font-size:16px; font-weight:bold;">Shop now</center>
</v:roundrect>
<![endif]-->
<!--[if !mso]><!-->
<a href="{{cta_url}}" style="background:#1a56db; border-radius:5px; color:#ffffff; display:inline-block; font-family:Arial, sans-serif; font-size:16px; font-weight:bold; line-height:48px; text-align:center; text-decoration:none; width:220px;">Shop now</a>
<!--<![endif]-->
</td></tr>
</table>
<!-- Footer: why they get it, postal address, ESP unsubscribe merge tag -->
<table role="presentation" width="100%" cellpadding="0" cellspacing="0">
<tr><td class="text-main" style="padding:24px; font-family:Arial, Helvetica, sans-serif; font-size:13px; line-height:20px; color:#4b5563;">
You're receiving this because you signed up for {{brand_name}} emails.<br>
{{company_postal_address}}<br>
<a href="{{unsubscribe_url}}" style="color:#4b5563; text-decoration:underline;">Unsubscribe</a>
</td></tr>
</table>
</div>
<!--[if mso]></td></tr></table><![endif]-->
</td></tr>
</table>
</body>
</html>
Here’s where each block is explained in this guide:
- Doctype,
lang, VML namespaces and viewport meta: “The viewport meta tag and the 600px container.” TheOfficeDocumentSettingsblock keeps classic Outlook from rescaling images on high-DPI Windows screens. - MSO font override: “From Figma to email: widths, type and images.”
- Color-scheme meta tags, dark style block and
data-ogsc/data-ogsbselectors: “Dark mode: keep your template readable.” - Hidden preheader: “Preheader and footer essentials.”
- 600px
max-widthcontainer with an Outlook conditional table: “Why tables still matter.” - Retina hero image with a
widthattribute: “From Figma to email: widths, type and images.” - Two-column hybrid row with ghost table and
font-size:0parent: “Fluid vs hybrid vs media-query layouts.” - VML bulletproof button: “Bulletproof buttons and Outlook conditional comments.”
- Footer with unsubscribe merge tag: “Preheader and footer essentials.”
The file uses the HTML5 doctype on purpose. Some older guides still recommend XHTML 1.0 or HTML 4.01 doctypes, but <!DOCTYPE html> is what Cerberus and MJML’s output use today.
Test before you send
Preview tools show how dozens of clients render your email, and real devices show how it feels to use. Use both before any template goes live.
Rendering previews vs real devices
Litmus and Email on Acid render your email in many clients, including classic Outlook builds and dark mode, and they’re the fastest way to catch layout breaks. caniemail.com is free and shows which CSS and HTML features each client supports. Check it before relying on @media, flexbox or prefers-color-scheme.
Then send to real inboxes: Apple Mail on an iPhone, the Gmail app on Android, Gmail in a desktop browser and Outlook for Windows (classic if you can get to one). Real devices catch tap targets that are too small, dates and addresses that get auto-linked, and how dark mode really looks on a screen.
Pre-send checklist
- Columns stack in the order you expect on a 375px screen.
- Body text is at least 14px on mobile, and buttons are at least 44px tall.
- The email still makes sense with images off, and every image has alt text.
- Buttons are bulletproof and render in classic Outlook.
- Logos and text are readable in dark mode in Apple Mail, Gmail and Outlook.
- The byte size passes the check in the clipping section, and Gmail doesn’t clip the email.
- The preheader reads well in the inbox preview.
- The unsubscribe link, address and all other links work, including merge tags.
- A plain-text version exists and matches the message.
Template, framework or builder: which to pick
Choose based on how often you build emails, how comfortable you are with code, and whether your ESP accepts custom HTML.
| Your situation | Best choice | Why |
|---|---|---|
| A few emails a year, comfortable with HTML | Cerberus hybrid template or the starter file above | Free, no build step, solid Outlook handling |
| Building a reusable email system for clients | MJML 5 | Components, consistent output, fast to change |
| Already on Foundation for Emails | Inky v2 migration | Maintained path, renders from your backend language |
| Marketing team, no coding | Stripo or RGE Studio | Visual editing, template libraries, ESP export |
| Tailwind-based front-end team | Maizzle | Utility classes, full control over table markup |
| Transactional email in a React app | React Email | Components alongside your product code |
There’s a fair case against frameworks. If you send one newsletter a month built from an ESP’s own blocks, its editor and starter templates are enough, and a framework only adds tooling you’ll never use. Frameworks pay off at volume, when one component change updates fifty templates at once.
Paid marketplace templates can be worth it when you need a polished design fast. Before you buy, check three things: the last update date, a compatibility list that includes classic Outlook, and a licence that covers client or commercial use. A cheap pack that hasn’t been updated in years is worse than free Cerberus.
Responsive email templates compared (2026)
The table sums up each option’s format, price as checked in November 2026, licence and best use.
| Resource | Format | Price (Nov 2026) | Licence | Layout approach | Classic Outlook handling | 2026 status | Best for |
|---|---|---|---|---|---|---|---|
| Cerberus | HTML | Free | MIT, commercial use | Fluid, responsive or hybrid | Ghost tables, MSO code | Offered, 3.x line | Hand-coded client emails |
| MJML 5 | MJML compiled to HTML | Free | MIT, commercial use | Responsive with Outlook fallbacks | Generated MSO code | Maintained, 5.4.1 | Reusable email systems |
| Foundation for Emails / Inky | HTML, Inky markup | Free | MIT, commercial use | Responsive grid | Table markup | Moving to Inky v2 (Rust, beta) | Existing Foundation teams |
| Stripo | Builder, HTML and AMP export | Free plan; from $20 a month | Use in your campaigns under plan terms | Builder-generated | Built in | Active | No-code teams that need code access |
| RGE Studio (formerly Beefree) | Builder, HTML export | Free Starter; Professional $30 a month | Use in your campaigns under plan terms | Builder-generated | Built in | Renamed May 2026 | Freelancers and small teams |
| Maizzle | HTML with Tailwind CSS | Free | MIT, commercial use | You build it | You write it | Active | Tailwind developers |
| React Email | React components rendered to HTML | Free | MIT, commercial use | Component-based | Built into components | Active, 6.0 | React transactional email |
Your next step is to check your ESP’s client report this week. If Apple Mail and Gmail dominate, start from the starter file above, Cerberus’s hybrid file or an MJML starter. Then set up dark mode properly and keep the file under the clip limit. That covers most of your audience before you write any Outlook-only code.
FAQ
What is a responsive HTML email template?
It’s a pre-built HTML email whose layout adapts to the screen, usually by stacking columns on phones. It uses tables for structure, inline CSS for styling, and fluid widths, media queries or both for resizing.
Where can I find free responsive HTML email templates?
Cerberus on GitHub (MIT licence) is the best free option. ZURB still offers free responsive templates, and its compatibility chart marks Outlook 2007 as supported, with known workarounds required. Stripo and RGE Studio have free plans with template libraries but limited exports.
Are responsive email templates compatible with Outlook?
The good ones are. They use MSO conditional comments, ghost tables and VML buttons for classic Outlook’s Word engine. New Outlook for Windows supports media queries and renders more like Outlook.com, but classic Outlook stays supported until at least 2029.
Can I build a responsive email template from scratch?
Yes. Start with an HTML5 doctype, the viewport and x-apple-disable-message-reformatting meta tags, and a 600px max-width container wrapped in an Outlook conditional table. Then add hybrid columns, a VML bulletproof button and a footer with your ESP’s unsubscribe merge tag. The starter file in this guide combines all of these.
Should I use MJML or a ready-made template?
Use a ready-made template like Cerberus for occasional emails. Learn MJML 5 if you build a lot of emails or maintain a component system for clients, because one change updates every template that uses that component.
Does Gmail support media queries?
Partly. Can I Email lists Gmail’s support as partial, and the Gmail mobile app doesn’t apply them for non-Google accounts. Reports conflict on desktop Gmail, so if your media queries aren’t working there, Gmail may be the cause. Use a hybrid layout that stacks without them.
What width should an HTML email template be?
600px is the standard container width, with 640px a common alternative. Set it as a max-width so it shrinks on phones, and add a fixed-width conditional table for classic Outlook.
Why does my email get clipped in Gmail?
Gmail clips HTML over 102KB. Builder wrappers, hybrid Outlook code and long tracking URLs push templates over the limit, so aim for about 90KB before tracking is added. Trim unused blocks, minify, check the byte size, and use a new subject line for each test so threading doesn’t cause a false clip.
How do I make an HTML email template work in dark mode?
Add the color-scheme meta tags and a prefers-color-scheme: dark style block, and target Outlook.com with [data-ogsc] and [data-ogsb] selectors. Use high-contrast colors and give logos a light outline or a solid backing so they survive automatic inversion.
Can I use Flexbox or CSS Grid in HTML emails?
Not for the main layout. Apple Mail and new Outlook support flexbox, but classic Outlook ignores it and Gmail support is limited. Build the structure with tables and use modern CSS only as an extra.
How do I test a responsive email before sending?
Preview it in Litmus or Email on Acid across clients and in dark mode, and check feature support on caniemail.com. Then send it to real devices: Apple Mail on an iPhone, the Gmail app, desktop Gmail and Outlook for Windows.
About this article
- Fact-checked by Graham Sutter against the sources listed below before publication.
- Published
Sources (8)
- Most Used Email Clients (Litmus July 2026 data) (oberlo.com)
- Litmus Email Client Market Share (litmus.com)
- Most Popular Email Provider by Number of Users (sellcell.com)
- Microsoft postpones new Outlook migration (theregister.com)
- Microsoft extends classic Outlook retirement deadline (techrepublic.com)
- Microsoft end of support 2026 (learn.microsoft.com)
- Email client rendering differences in 2026 (dev.to)
- Can I Email: @media (caniemail.com)



