Open Source Platform for DTC, B2B Commerce, Marketplaces & Omnichannel. REST APIs, TypeScript SDKs, and production-ready Next.js storefront. Self-host it. Own your data. No vendor lock-in. Zero platform fees.
Ruby b2b-commercee-commerceecommerceecommerce-apiecommerce-frameworkecommerce-platformheadlessheadless-commerceheadless-ecommercemarketplacemulti-tenantmulti-vendormulti-vendor-ecommerceopen-sourcespree-commerce
---
title: Emails
description: Customize Spree transactional emails using the spree_emails gem and Postmark templates, including how to preview mailers locally during development.
canonical: "https://spreecommerce.org/docs/v5/developer/customization/emails"
---
<Note>
Emails are now part of `spree_emails` gem. If you use `spree_starter` you already have it installed.
</Note>
## Overview
Spree uses [postmark templates](https://github.com/wildbit/postmark-templates), as a base for all transactional emails.
## Email previews
Spree bundles [ActionMailer previews](https://guides.rubyonrails.org/action_mailer_basics.html#previewing-and-testing-mailers) for all of its transactional emails. They are served automatically in development — there is nothing to install.
Start the rails server locally and go to: `localhost:3000/rails/mailers`
(it requires a seeded development database in order to work properly, as the previews render real records)