Email Identity Registry
Per-surface "From" lines so no brand leaks onto another.
Builders & toolkitsLiveNode.jsResend
3identities
What it is
Every transactional email and magic link sends through one path with a pure, unit-tested per-surface identity registry. Only the address and domain come from EMAIL_FROM; the display name (and, for court mail, the local-part) come from the identity — so one surface’s brand can never leak onto another’s mail.
Take it with you
A portable spec of this system — copy or download it, code paths and all.
Where it lives
- src/lib/email/identities.mjs
- src/lib/email/send.mjs
- src/lib/heddle-email.js
See it in action
Architecture map →FAQ
What problem does this solve?
A single global From display name once branded every email with one surface’s name. The registry resolves the From per surface, so notifications, product mail and court mail each carry the right identity.
Part of these stacks
Related systems
Want a system like this built for you?Work with me →