Urgent.News

One page, thousands of outlets. See who else covered it.

Editions

Tech

We had 45 subscribers and had sent them zero emails

We had 45 people on our email list and had sent them, in total, zero emails. Not zero this month. Zero ever. I found it while checking something else, and the reason is boring enough that I suspect it is sitting in your app too. How a form ends up promising something no code owns Our subscribe endpoint did exactly what I wrote it to do: @router.post ( " /newsletter/subscribe " ) async def…

The wire report details an email service issue where a subscriber email list of 45 people did not receive any emails, despite promises of weekly content and a free domain audit. The problem stemmed from a frontend pop-up and blog form that made promises, but the backend did not deliver on them due to a missing welcome email implementation.

The backend had a feature flag set to false for all other communications. The frontend's promises were not matched by backend functionality, leading to no tests or errors. The author discovered the issue while checking something else and wrote a fix for the welcome email, ensuring it was sent only once per subscription and handled retries.

The bounce issue was also resolved by handling inbound support emails from the Resend API, which had several failed deliveries.

Written by urgent.news from Dev.to's reporting — not their text. Machine-written — may contain errors; check the original before relying on it.

Read the original at dev.to →

More in Tech

More from Tuesday 18 August →