bitbaum
Start a project
Package · MIT

mail-kit

One email layer for every app. Never throws — it returns whether the mail was sent.

Why it exists

Email is where products quietly grow a second, private implementation: a different sender, a swallowed error, a test message that reaches a real person. Eleven apps had started.

How it works

Resend, over raw fetch, with no other dependencies. The call returns a result that says whether the mail went, rather than throwing and hoping a catch exists. Sandbox and placeholder addresses are refused, and the shared sender is one convention.

Where it fits

Hire, notifications, and anything that has to reach a person outside the product. It is the boring half of 'reach someone'. threadkit is the half that stays inside.

LicenceMIT
Installpnpm add @bitbaum/mail-kit
Sourcebitbaum/mail-kit
Used by11 apps