How to Build a Responsive HTML Email That Works in Every Inbox
Why email HTML is different, how tables, inline CSS and Outlook fallbacks work, how to handle dark mode and how to export templates for your service.

How to Build a Responsive HTML Email That Works in Every Inbox
If you have ever designed a beautiful newsletter that looked broken in Outlook, you have met the strange world of email HTML. Web browsers follow modern standards closely. Email apps do not: Outlook for Windows renders messages with Microsoft Word, Gmail removes many styles, and dark mode can recolour everything. This guide explains the techniques that make emails reliable and how the free HTML email template builder applies them for you.
Tables are still the safest layout
Modern websites use flexbox and grid for layout. Many email apps ignore them. The dependable approach is nested tables: an outer table that fills the width and sets the background, and an inner table, usually 600 px wide, that holds the content. Each row is a block: logo, heading, text, button, image. On phones, a media query makes the inner table 100 % wide and stacks columns. Where media queries are not supported, the fixed width shrinks gracefully because the table also has max-width set.
Inline every style
Some email apps strip the style block in the head, or ignore parts of it. To be safe, every important style (font, size, colour, padding) is written directly on each element. The builder does this automatically, and keeps only things that cannot be inlined, such as media queries and dark-mode rules, in the head, where they act as progressive enhancements.
Buttons that work in Outlook
A link styled as a button looks fine almost everywhere except Outlook for Windows, which ignores padding on links. The common fix is a "bulletproof" button: a VML shape that only Outlook reads, inside conditional comments, plus a normal styled link for every other app. The builder writes both versions for each button.
Dark mode in three flavours
Email apps handle dark mode in different ways:
- No change. Some apps show your colours exactly as designed.
- Your dark colours. Apple Mail, Outlook for Mac and some others respect the prefers-color-scheme media query, so you can supply your own dark palette.
- Forced inversion. Gmail's phone apps and Outlook on Windows may invert colours themselves, regardless of your code.
Design for all three. Use logos with a solid or outlined background so they stay visible when inverted, avoid light-grey text on white, and choose dark-mode colours with enough contrast. The builder's preview has a mode for each case, so you can check before you send.
Preheader text
The preheader is the snippet shown after the subject line in many inboxes. If you do not set one, the app takes the first text it finds, which might be "View in browser". A good preheader adds to the subject line rather than repeating it. It is hidden in the email body with a few CSS tricks.
Size and images
Gmail clips messages larger than about 102 KB and hides the rest behind a link, which can also hide your unsubscribe link and tracking. Keep emails lean: simple code, no huge embedded styles. Images should be hosted online, usually in your email service's file manager, and every image needs alt text, because many people read with images blocked.
Merge tags and unsubscribe links
Each email service uses its own placeholders. Mailchimp writes |FNAME| for the first name and |UNSUB| for the unsubscribe link; Brevo uses {{ contact.FIRSTNAME }} and {{ unsubscribe }}. In the builder you type simple tokens such as {first_name} and {unsubscribe}, then choose your service on export. An easy unsubscribe link is not optional: laws such as CAN-SPAM in the United States and GDPR-based rules in Europe expect it, and major mailbox providers require one-click unsubscribe for bulk senders.
A plain-text version
Multipart emails include a plain-text version alongside the HTML. It helps people with text-only clients, some accessibility tools and spam filters. The builder generates one from your blocks, turning links into "label (URL)".
A sensible workflow
- Start from a template and replace the sample text and images.
- Keep one main message and one main button.
- Set brand colours and dark-mode colours.
- Preview at desktop and phone width, light and dark.
- Export for your email service and import the HTML there.
- Send tests to Gmail, Outlook and Apple Mail accounts before the real send.
Limits
The builder produces code that follows widely tested email practices, but no tool can guarantee identical rendering in every app and version, and its preview runs in your browser, not in real inboxes. It does not send email, manage subscriber lists or record consent; your email service does that. Test every campaign with real accounts, and make sure you have permission to email the people on your list.



&c=%23991b1b&k=business)