Notifio is a desktop app that watches rental search pages and emails you when a new listing appears. Email is not a side feature of it, email is the product's output. So I went and counted every message the thing can send, where each one is built, and what each one does differently from the others.
Seven HTML bodies. Here is the whole inventory.
email built in triggered by
New listings found lib/emails/alert.ts the desktop app posting a find
Reply sent / submitted lib/emails/alert.ts an auto-reply completing
Login required lib/emails/alert.ts a saved session going stale
Site blocking checks lib/emails/alert.ts the app pausing a site
Your activation code lib/emails/activation.ts a Stripe webhook after a purchase
Free licence granted lib/emails/free-access.ts a CLI script run by hand
New contact message app/api/contact/route.ts the form on notifio.app/help
Four of those live in one module, two have a module each, and the seventh is a template literal inside the API route that sends it.…