Skip to content
AE DIGITAL
Email MarketingBy 6 min read

Responsive email templates and dark mode: designing emails that read well everywhere

Practical rules for responsive email templates: columns and mobile, images and alt text, dark mode in Gmail, Outlook and Apple Mail, accessible buttons and pre-send testing.

Article cover: the word “Email” next to a glowing icon on a violet space background

How email clients actually display emails

A responsive email template adapts to screen width and stays readable in the main email clients, including with dark mode on. The starting point is accepting that an email is not a web page. Each client interprets HTML and CSS its own way: Gmail strips part of the CSS, classic Outlook for Windows uses a rendering engine derived from Word, and Apple Mail supports almost everything.

That is why templates from drag-and-drop editors such as Brevo's are built with nested tables and inline styles. It is not technical elegance, it is compatibility. Whoever designs the template has to work within these limits rather than fight them: simple layouts, few columns, nothing that depends on advanced CSS.

Column layout and mobile

Most opens come from smartphones, so design for a narrow screen first. A structure that almost always works has these elements:

  • A main container between 600 and 640 px, centered. On mobile it takes the full width.
  • One column for the main content. Two or three columns are fine for product grids, as long as they stack on mobile.
  • Body text between 14 and 16 px, larger headings, generous line height. Below 14 px is hard to read on a phone.
  • Side padding of at least 16-20 px, because text touching the screen edge is tiring.

What to hide on mobile

Many editors let you hide a block on mobile or desktop. Use it sparingly: if content is not needed on mobile, it is probably not needed on desktop either. The right use case is swapping a wide banner for a vertical version designed for phones.

Images, weight and alt text

Some clients block images until the recipient allows them, and others load them slowly on weak connections. An email made of one big image turns into an empty rectangle.

  • The main message and call to action should be live text, not text inside an image.
  • Every image has alt text describing what it communicates: "Navy wool jacket, 20% off until Sunday" is useful, "banner1" is not.
  • Compress images and upload them at twice the display width for high-density screens, not at 3000 px.
  • Check the HTML weight. Gmail clips messages over 102 KB and shows a "View entire message" link. Clipping often hides the footer, including the unsubscribe link.

Weight grows mostly through copy-pasted blocks, repeated tracking code and templates with many hidden sections. Images, loaded from an external server, do not count towards the limit.

Dark mode: logos and colors

Dark mode is where you lose the most control. Litmus splits clients into three groups:

  1. No change: the email stays as designed. This includes Apple Mail on macOS, Gmail on desktop and Yahoo Mail.
  2. Partial invert: light backgrounds turn dark, dark ones stay. This happens in Outlook.com, the Outlook app for iOS and Android, and the Gmail app for Android.
  3. Full invert: both light and dark backgrounds change. This is how the Gmail app for iOS and recent Outlook for Windows behave.

What you can control

The prefers-color-scheme: dark media query lets you define alternative colors and images for dark mode, but support is limited: it works in Apple Mail, while Gmail does not allow this kind of targeting. Outlook adds attributes such as data-ogsc that allow some targeted rules. In practice, with drag-and-drop templates you should design for the worst case, which is automatic inversion.

Rules that survive inversion

  • Logo: transparent PNG with a semi-transparent light outline or glow, so it reads on both white and black. Alternatively, put the logo on a solid color block with some padding.
  • Avoid pure black and pure white for text and backgrounds: very dark grays and slightly off-whites reduce glare after inversion.
  • No dark text inside images with transparent backgrounds: after inversion the background turns dark and the text disappears.
  • Icons in a mid-tone color that stays visible on both backgrounds.

Accessible buttons and links

An accessible email is also one that converts better, because anyone can read it more easily. WCAG 2.2 was not written for email, but two thresholds are a useful reference.

  • Contrast: at least 4.5:1 between text and background for normal text, as criterion 1.4.3 requires. This applies to button text too.
  • Target size: criterion 2.5.8 sets a minimum of 24 by 24 px. For a button tapped with a thumb we use at least 44 px height, with space between links.
  • HTML buttons, not images, so they stay visible when images are blocked.
  • Descriptive link text: "Choose your size" instead of "click here".
  • Clear hierarchy: one primary button per email, the rest as text links.

Many of these rules match those for an inclusive checkout, as we explain in our guide to ecommerce accessibility and WCAG 2.2.

Reusable base templates

Rather than designing every campaign from scratch, prepare a few base templates and duplicate them. For an online store, these are usually enough:

  • Editorial newsletter: header, one main piece, two or three secondary pieces, footer.
  • Promotion: hero image with live text above or below, product grid, one primary button.
  • Transactional and automations: plain structure, little design, information in text.

In each, header and footer are saved, shared blocks: logo, site link, company address, unsubscribe and preference links. A fix then happens once. Subject line and preheader complete the template; see our guide to subject lines and preheaders. If you are setting up Brevo from scratch, the list and attribute structure your personalization depends on is covered in our Brevo setup guide.

Testing before you send

The editor preview is not enough. Before every new template, and on a sample of later campaigns, follow this sequence:

  1. Check the mobile and desktop preview in the editor.
  2. In Brevo, use Preview & test: previewing as a contact checks personalization, and the per-client view compares rendering across inboxes.
  3. Send real tests to Gmail web and app, Outlook desktop and Apple Mail on iPhone, with dark mode on and off.
  4. Turn off images in one client and check the message still makes sense.
  5. Click every link, including unsubscribe.
  6. Check that Gmail does not clip the email.

More design and measurement choices for store emails are collected in our guide to ecommerce email marketing. If you want a set of templates built and tested in your account, we do it in our Brevo email marketing service.

Frequently asked questions

What width should an email template be?

Between 600 and 640 px for the main container is the safest choice: it fits the reading pane of desktop clients and adapts on mobile by stacking columns. Wider layouts force horizontal scrolling in some clients.

Can I control how my email looks in dark mode?

Only partly. Apple Mail respects the prefers-color-scheme media query, Outlook adds attributes that allow some targeting, and Gmail inverts colors by its own rules. Design a template that survives automatic inversion as well.

Why does my logo disappear in dark mode?

It is usually a transparent PNG with dark text: when the background turns black, the dark text vanishes. Add a semi-transparent light outline or glow, or place the logo on a solid color block.

How do I test a template before sending?

Use your tool's preview, then send test emails to real inboxes: Gmail on web and app, Outlook desktop, Apple Mail on iPhone, with dark mode on and off. In Brevo, Preview & test also lets you compare rendering across several clients.

Sources

  1. The Ultimate Guide to Dark Mode for Email Marketers — Litmus
  2. @media (prefers-color-scheme) — Can I email
  3. Understanding Success Criterion 1.4.3: Contrast (Minimum) — W3C
  4. Understanding Success Criterion 2.5.8: Target Size (Minimum) — W3C
  5. What Is Email Message Clipping? — MxToolbox
  6. Preview and test your email campaign — Brevo

Related articles

Tell us what isn't working.

We reply within one business day with a first opinion and, if it makes sense, a quote.

Write to us