A custom home builder and remodeler in Central Texas wanted a monthly newsletter for its community of clients and neighbors. With today's AI tools, you can write a newsletter in code from scratch for every issue, but that doesn't guarantee it looks right in Outlook, on a phone, or in dark mode. Andes Development used Claude Code to build a standard newsletter framework: shared components, brand colors for light and dark mode, and automated checks, so every issue starts from a foundation already designed and checked for the major email clients.
// The challenge
An email isn't a web page. Every email client reads HTML its own way, and dark mode can change the colors without warning. The key challenges were:
- Looking right everywhere The newsletter had to work in Apple Mail, Gmail, Outlook for Windows and Mac, Outlook mobile, and other clients, from 320 to 600 pixels wide.
- Light and dark mode Some clients respect the email's styles, some invert part of the colors, and some invert all of them. The brand had to read well in all three cases.
- Outlook Buttons, columns, and backgrounds need their own techniques so Outlook for Windows doesn't break the layout.
- Starting from a foundation, not from zero The first template was tuned by hand, with colors repeated and no checks. Every new issue risked drifting from the last one.
- Content that fits Each issue had to reflect the news the client wants to share, without redoing the design.
// The technology solution
Andes built the framework on Maizzle, an open-source email tool with components and Tailwind, and added the rules an email needs:
- Shared components A component library (header, stories, events, buttons, footer, and more) driven by each client's colors and fonts, with its own identity, a master template, and a folder per issue.
- Dark mode by design Every color has a light and a dark version. The email declares both schemes, generates the dark mode and Outlook.com rules, and uses a palette with no pure black or white to hold up when colors get inverted.
- Outlook under control A custom component for the structures only Outlook reads, and VML buttons generated from the same brand colors.
- Automated checks Before every production build, the framework checks that every color has a dark version, that no placeholder text is left, that the email stays clear of Gmail's clipping limit, that every image has alt text and a width, that links are secure, and that the unsubscribe link and the plain-text version exist. If anything fails, the production build doesn't get made.
- A review page Every issue produces a view with light and dark mode side by side, on desktop and on a phone, so the team and the client can approve it before it's sent.
- Ready for any platform Minified HTML and plain text, images served from a CDN, UTM-tagged links, and merge tags translated into each platform's format. This client uses Brevo, where the campaign is set up as a draft.
- A documented process A brief for each issue, client approval, a template changelog, and a send log.
// Results and key achievements
The first issue is approved by the client, with its test send done and ready to go out:
-
29.6 KB
The size of the production issue, well under the roughly 102 KB where Gmail clips an email. -
163 elements
Matched the original proposal design, at 1000 and 375 pixels wide, in light and dark mode. -
2 modes, 1 foundation
Every new issue inherits the components, colors, and checks, in light and dark mode.
// Conclusion
The framework is now our starting point for Andes clients' email newsletters, and the home builder is the first to use it. One caveat: today the checks are automated and visual, with the review page and test sends, and we don't yet run a rendering service across dozens of email clients. That's the next step. For this builder we already did its static website and landing pages, and the newsletter now carries the same brand into the inbox.