Email sending delayed

Our public postmortem for the incident on November 23rd, 2026.

Matias Artopoulos Kozak
Matias Artopoulos Kozak
November 24, 2026
TL;DR

From 21:18 UTC on November 23rd to 01:32 UTC on November 24th, broadcasts, automations, and draft previews failed to send for the subset of newsletters assigned to our in-house email delivery service (Espresso). About 80 broadcasts and 9 automation emails were delayed; all of them were eventually delivered with no duplicates, with the last batch going out around 04:00 UTC. 19 draft preview emails were not resent and had to be re-triggered by authors. All other newsletters (including those on custom sending domains), subscriber confirmation emails, the dashboard, and Archives were not affected.

We've been slowly rolling out Espresso, our in-house email delivery service, alongside our other delivery providers. Because only a subset of newsletters are assigned to Espresso, this incident did not affect all newsletters — only those assigned to it.

At 21:18 UTC on November 23rd, the Postgres database backing Espresso ran out of disk space and automatically switched to read-only mode. Because Espresso writes every outgoing message to its database before queuing it for delivery, it began rejecting all incoming send requests with errors.

Normally, a transient failure from a delivery provider would be retried automatically. In this case, our application caught the HTTP 500 from Espresso and treated it as an unhandled provider error instead of failing the background job. As a result:

  • Broadcasts sent through Espresso during the outage were marked as sent with zero delivery attempts instead of being retried.
  • Automations routed through Espresso silently skipped the failed send (9 automation emails across 2 automations were affected).
  • Draft previews routed through Espresso (19 in total) failed silently and aren't tracked for redrive, so authors had to re-send them once the outage was over.

Newsletters sending through other providers (including custom sending domains) were unaffected, and subscriber confirmation emails were unaffected as well since they are sent through Postmark.

How did we detect the issue?

Our automated missing-receipts checker detected that a broadcast had zero delivery attempts and opened an incident at 01:22 UTC on November 24th — over four hours after the database went read-only. Two authors had also written in to support about drafts not sending right around the same time.

Taking four hours to notice a complete sending outage on Espresso is unacceptable. Several gaps lined up to delay detection:

  • Our missing-receipts checker has a two-hour grace period before flagging an email, so it couldn't catch the problem quickly. An earlier checker failure was also initially mistaken for noise.
  • We had no alert paging an engineer on a sustained spike of errors when handing off mail to a delivery provider, even though Espresso logged 242 failed batch-send requests and nearly 16,000 read-only database errors during that window.
  • PlanetScale's disk-usage alerts weren't routed into our issue tracker or paging workflow, so we didn't catch the database filling up before it went read-only.

How did we mitigate the issue?

Within a few minutes of the incident being opened, we identified that Espresso's database was full and in read-only mode. We started a storage upgrade on PlanetScale at 01:31 UTC, and writes resumed at 01:32 UTC. New broadcasts, automations, and draft previews could send normally again right away.

Because the failed sends hadn't been queued for retry, we had to redrive the missed emails from the outage window:

  • At 01:36 UTC, we ran the automated repair on our missing-receipts checker to redrive broadcasts published before 23:00 UTC (the ones already past the two-hour grace period).
  • Between 01:48 and 01:59 UTC, we manually redrove the 9 missed automation sends and the 60 smaller broadcasts with fewer than 10 recipients, since our receipt checker skips broadcasts below that threshold.
  • At 03:58 UTC, once the broadcasts published between 23:00 and 01:32 UTC exited the two-hour grace period, we ran the repair again to clear the remaining backlog.

Timeline

Time (UTC)Event
Nov 23, 21:18Espresso's Postgres database runs out of disk space and enters read-only mode. New sends and delivery event writes begin failing.
Nov 24, 01:22Automated missing-receipts checker triggers an incident and pages engineering.
Nov 24, 01:25Root cause identified: Espresso's database is full and in read-only mode.
Nov 24, 01:31PlanetScale database storage upgrade is started.
Nov 24, 01:32Database writes resume; new emails and drafts can send normally again.
Nov 24, 01:34Status page incident is published.
Nov 24, 01:36Repair is triggered to redrive delayed broadcasts published before 23:00 UTC.
Nov 24, 01:43Status page updated to "Monitoring", noting that broadcasts are clearing and draft previews need to be re-sent.
Nov 24, 01:48-01:59Missed automation sends and 60 smaller broadcasts (<10 recipients) are redriven manually.
Nov 24, 03:58Final repair is triggered to redrive the remaining delayed broadcasts from the 23:00–01:32 UTC window.
Nov 24, 04:06Status page incident is marked resolved.

How will we prevent this from happening again?

  1. Page on elevated delivery-provider errors. We're adding alerts that page an engineer when errors sending to an email service provider (or critical write errors in Espresso) spike, so we find out in minutes instead of hours.

  2. Route PlanetScale alerts into our workflow. We'll pipe PlanetScale's disk and health alerts into our issue tracker and alerting so we act on storage growth well before a database hits its limit.

  3. Cover all broadcasts in missing-receipt checks. We're removing the 10-recipient minimum threshold on our missing-receipts checker so smaller newsletters are caught and repaired automatically too.

  4. Retry failed delivery-provider handoffs. When a delivery provider returns a server error, our background worker should fail and retry the send automatically instead of marking the email as sent with zero delivery attempts.

Buttondown is the last email platform you’ll switch to.