← The Store

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

OG & Metadata ToolkitOne helper that gives every page consistent SEO and social cards.Theme Token SystemThe site-wide design language: Material 3 roles, two looks, light and dark.Structured Data ComponentsReusable JSON-LD schema builders for rich search results.

Explore the full catalog →

Want a system like this built for you?Work with me →