Mailchimp + Better-Notify
Deliver transactional email through Mailchimp's Mandrill API. Ideal if you already use Mailchimp for marketing — add typed transactional email without switching providers.
Install
npm install @betternotify/mailchimpQuick start
import { createClient } from '@betternotify/core';
import { mailchimpTransport } from '@betternotify/mailchimp';
const mail = createClient({
catalog,
transportsByChannel: {
email: mailchimpTransport({ apiKey: process.env.MANDRILL_API_KEY }),
},
});
await mail.welcome.send({ to: 'user@example.com', input: { name: 'Alice' } });Features
- Mandrill transactional API
- Inline images and tags
- Attachments and CC/BCC
- Rate limit detection
- Auth and config error classification