How mail apps change your HTML email (dark mode, blocked images, stripped styles)
Mail apps rewrite your email: many phones recolour it in dark mode (some flip every colour), Outlook blocks images by default, Gmail's app strips <style> for many accounts, Gmail clips emails over ~102 KB, and classic Outlook for Windows ignores flex and grid. Build on a 600px table skeleton with inline styles, put words in text (not images), and set text and background colours together.
The details
| What happens | Effect | Where |
|---|---|---|
| Forced dark (partial) | Light backgrounds go dark, dark text goes light; mid colours stay | Outlook apps, Gmail on Android |
| Full inversion | Every colour's lightness flipped | Gmail on iOS, some Outlook setups |
| Apple Mail dark | Honours prefers-color-scheme; nothing forced if you declare color-scheme | Apple Mail |
| Images blocked | Images replaced by alt text; background images dropped | Outlook desktop default, many work accounts |
| <style> stripped | Only inline styles survive | Gmail app with non-Gmail accounts |
| Clipping | Message cut at ~102 KB behind "View entire message" (hiding the unsubscribe link) | Gmail |
What usually goes wrong
- The logo or headline as an image: blocked or recoloured, it becomes broken alt text.
- Mid-grey text on white: fine in light mode, unreadable once recoloured.
- Layout in flex/grid: classic Outlook stacks or breaks it.
- Buttons as images, or links under 44px tall.
Before and after, from Palm's tests


Blind judges (two models) picked the Palm email in 16 of 18 pairs; measured score 100 vs 64–70.
Same agent (Claude Code), same request, a fresh folder each run; judged blind by a separate session that never knew which side used Palm. All results.
What your agent can't do alone
Palm's email-render shows the agent its email on a phone in light, forced dark, full inversion, Apple Mail dark, with images blocked and with <style> stripped, side by side, and measures contrast in each view, Gmail clipping, alt text, tap sizes and the unsubscribe link.
Questions
Can I stop Gmail from changing my email in dark mode?
Not fully. Gmail's apps apply their own changes; design so the email reads in every version: set text and background colours together and avoid mid-grey text.
How big can an email be before Gmail clips it?
About 102 KB of HTML.