Files
Alejandro Gutiérrez 3527e732d4 feat: turbostarter boilerplate
Production-ready Next.js boilerplate with:
- Runtime env validation (fail-fast on missing vars)
- Feature-gated config (S3, Stripe, email, OAuth)
- Docker + Coolify deployment pipeline
- PostgreSQL + pgvector, MinIO S3, Better Auth
- TypeScript strict mode (no ignoreBuildErrors)
- i18n (en/es), AI modules, billing, monitoring

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-02-04 01:01:55 +01:00

2.0 KiB

title, description, url
title description url
Overview Get started with emails in TurboStarter. /docs/web/emails/overview

Overview

For mailing functionality, TurboStarter integrates React Email which enables you to build your emails from composable React components.

It's a simple, yet powerful library that allows you to **write your emails in React**.

It also allows you to use Tailwind CSS for styling, which is a huge advantage, as we can share almost everything from the main app with the emails package, keeping them consistent with rest of the app.

You can read more about react-email package in the official documentation.

Providers

TurboStarter implements multiple providers for managing and sending emails. To learn more about each provider and how to configure them, see the respective section:

All configuration and setup is built-in with a unified API, so you can switch between providers by simply changing the exports and even introduce your own provider without breaking any sending-related logic.

Development

When you setup your development environment and run pnpm dev command a new app will start at http://localhost:3005.

Email preview

There you'll be able to check your email templates and send test emails from your app. It includes hot-reloading, so when you make change in the code - it will be reflected in the browser.

Learn more about configuration and setup of the emails in TurboStarter in the following sections.