FlareStart
HomeNewsHow ToSources
FlareStart

Where developers start their day. All the tech news & tutorials that matter, in one place.

Quick Links

  • Home
  • News
  • Tutorials
  • Sources
  • Privacy Policy

Connect

© 2026 FlareStart. All rights reserved.

Back to articles
How we caught a layout bug in our own emails using the screenshot API
NewsWeb Development

How we caught a layout bug in our own emails using the screenshot API

via Dev.to JavaScriptCustodia-Admin1mo ago

How We Caught a Layout Bug in Our Own Emails Using the Screenshot API Two weeks. That's how long we'd been sending a broken welcome email to new signups before someone mentioned it in a support ticket. The bug: our welcome email had a two-column layout that collapsed correctly on mobile — or so we thought. On Gmail Android dark mode, the right column disappeared entirely. Just gone. The CTA button was in that column. We'd tested it in our own email client (Apple Mail, macOS). It looked fine. We'd sent a test to ourselves. Fine. We shipped it. Here's how we found it, fixed it, and set up the check that caught the next one before it shipped. How we found it When the support ticket came in, we wrote a quick script to screenshot the template across the matrix we should have checked before sending: import fs from " fs/promises " ; const template = await fs . readFile ( " emails/welcome.html " , " utf8 " ); const MATRIX = [ { label : " desktop-light " , opts : {} }, { label : " desktop-dark

Continue reading on Dev.to JavaScript

Opens in a new tab

Read Full Article
18 views

Related Articles

Axios Gets 100 Million Downloads a Week. Today, Two Came With a Trojan.
News

Axios Gets 100 Million Downloads a Week. Today, Two Came With a Trojan.

Medium Programming • 12h ago

Robotaxi companies refuse to say how often their AVs need remote help
News

Robotaxi companies refuse to say how often their AVs need remote help

TechCrunch • 13h ago

I Set the Thread Pool to 8 and Brought Down Black Friday
News

I Set the Thread Pool to 8 and Brought Down Black Friday

Medium Programming • 13h ago

News

How I Built Simple Automation Systems That Save Time (And Why Businesses Need Them)

Medium Programming • 13h ago

News

wastrelly wabbits

Lobsters • 13h ago

Discover More Articles