Files
twenty/packages/twenty-emails
Félix Malfait 24873d0c1d Remove versions from package.json (#11658)
Now the source of truth for the version is set during the build process.
We set it as an environment variable from the tags.
We could add it back to the package.json during the build process (from
the git tag), but there is not use for it at the moment since it's not
npm packages.
2025-04-19 23:03:06 +02:00
..
2025-04-03 14:26:19 +02:00
2025-04-03 14:26:19 +02:00
2025-04-03 14:26:19 +02:00
2025-04-03 14:26:19 +02:00

Twenty Emails

This package contains the email templates used by Twenty.

Features

  • Email templates built with React Email
  • Internationalization (i18n) support via @lingui/react
  • Local preview server for testing email templates

Getting Started

Starting the Local Preview Server

To start the local preview server for email development:

npx nx start twenty-emails

This will run the development server on port 4001. You can then view your email templates at http://localhost:4001.

Building Emails

To build the email templates:

npx nx build twenty-emails

Email Structure

Each email template is located in the src/emails directory. The templates use various components from the src/components directory to maintain consistent styling and functionality.