Building an Email Confirmation Flow with Sailhouse, Netlify, and Resend

TL;DR: I built an open-source email confirmation system using Sailhouse's event architecture and Netlify serverless functions, using Resend for the emails. Grab it, hack it, use it! github.com/sailhouse/email-confirmation 1. Introduction: Why Email Confirmation Matters It's one of those things every project needs, but nobody's particularly excited to implement. These flows do important stuff: They stop the bots (mostly) Keep you on the right side of privacy laws Show users you're not going to spam them into oblivion Help maintain a list of people who actually want your emails After 20 years of working with these things (and seeing them break in production

Mar 28, 2025 - 22:42
 0
Building an Email Confirmation Flow with Sailhouse, Netlify, and Resend

TL;DR: I built an open-source email confirmation system using Sailhouse's event architecture and Netlify serverless functions, using Resend for the emails. Grab it, hack it, use it! github.com/sailhouse/email-confirmation

1. Introduction: Why Email Confirmation Matters

It's one of those things every project needs, but nobody's particularly excited to implement. These flows do important stuff:

  • They stop the bots (mostly)
  • Keep you on the right side of privacy laws
  • Show users you're not going to spam them into oblivion
  • Help maintain a list of people who actually want your emails

After 20 years of working with these things (and seeing them break in production