Email

SMTP + Better-Notify

Connect Better-Notify to any SMTP-compatible mail server — Gmail, Amazon SES, Postfix, or your own. Backed by Nodemailer with connection pooling, DKIM signing, and automatic error classification.

Install

npm install @betternotify/smtp

Quick start

import { createClient } from '@betternotify/core';
import { smtpTransport } from '@betternotify/smtp';

const mail = createClient({
  catalog,
  transportsByChannel: {
    email: smtpTransport({
      host: 'smtp.example.com',
      port: 587,
      auth: { user: 'user', pass: 'pass' },
    }),
  },
});

await mail.welcome.send({ to: 'user@example.com', input: { name: 'Alice' } });

Features

Read the docsGet started

Related integrations