Emails

Overview

Get started with emails in TurboStarter.

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

Why React Email?

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 without changing your code 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.

Last updated on

On this page

Ship your startup everywhere. In minutes.Get TurboStarter