Resend + Better-Notify
Deliver transactional and marketing email through Resend's modern API. Better-Notify handles validation, rendering, and middleware — Resend handles delivery.
Install
npm install @betternotify/resendQuick start
import { createClient } from '@betternotify/core';
import { resendTransport } from '@betternotify/resend';
const mail = createClient({
catalog,
transportsByChannel: {
email: resendTransport({ apiKey: process.env.RESEND_API_KEY }),
},
});
await mail.welcome.send({ to: 'user@example.com', input: { name: 'Alice' } });Features
- Simple API key authentication
- Tags and custom headers
- Attachments and inline images
- CC/BCC support
- Automatic HTTP error classification