Features
Transactional email with Plunk and React Email templates.
Docs are in beta — content is improving rapidly. Found something missing? Open an issue on GitHub or reach out on Twitter.
BetterStarter sends transactional emails via Plunk — an open-source email service that's easy to self-host or use as a managed service.
What's Included
- OTP sign-in codes sent automatically via Better Auth
- React Email templates for all transactional emails
- Email sending utility in
src/lib/email.ts - Easy to swap providers (Resend, SendGrid, Postmark) by updating
sendOTPEmail
Environment Variables
PLUNK_SECRET_API_KEY=your_plunk_secret_api_key
TRANSACTIONAL_EMAIL=noreply@yourdomain.comSending Custom Emails
import { sendEmail } from '@/lib/email'
await sendEmail({
to: 'user@example.com',
subject: 'Welcome!',
react: <WelcomeEmail name={user.name} />,
})Guide
- Set up Plunk — Plunk setup is covered in the OTP guide