Purpose
Server transports select the Cloudflare binding, Cloudflare REST, Resend or the console fallback from available configuration. Template helpers produce escaped HTML for verification, reset, invitations and other identity messages.
Public exports
| Subpath | Target |
|---|---|
. | ./src/index.ts |
./templates | ./src/templates.ts |
./transports | ./src/transports.ts |
These paths come from packages/email/package.json. A . entry is the package root. Conditional targets distinguish platform or type resolution; consumers should import the subpath, not its source file.
How to extend
Add a template and call the existing send boundary. Delivery has a bounded timeout and does not automatically retry a send after an uncertain response. Configure a real provider before relying on user delivery.
Read the transactional email delivery guide for the full flow.