nullish sends a few emails itself: to verify an email address, to reset a password and to invite someone to an organization. They come in English, German, French and Italian.
These emails are part of nullish, so only those who self-host it can change them. They're made with the nullish email templates project. It shows a live preview of each email with sample data, so you see every change right away.
Get the project
Section titled “Get the project”Fork usenullish/email-templates on GitHub if you want to keep your changes in your own repository, then clone it:
Terminal window git clone https://github.com/usenullish/email-templates.gitcd email-templatesnpm ciStart the preview and open localhost:3000:
Terminal window npm run dev
Change them with an AI
Section titled “Change them with an AI”Open the project in a coding assistant such as Claude Code, Cursor or Copilot, and describe what you want:
- "Use our logo from
logo.svgand our brand color#1d4ed8for the button." - "Shorten the invitation email to two sentences."
- "Add our support address to the footer."
The project describes the data of each email, so the assistant knows what it can use. Keep the preview open next to it and ask for adjustments until it looks right.
Or edit them yourself
Section titled “Or edit them yourself”Each email has its own folder in emails/_templates/, e.g. emails/_templates/invitation/:
invitation.tsxis the email: which texts and data it shows.i18n.jsonholds the texts in English, German, French and Italian.
The emails share one layout, emails/_templates/link-email/link-email.tsx. They're written with React Email and styled with inline styles. The project's README lists the data of each email and the template syntax.
Export them
Section titled “Export them”npm run exportYou get one HTML and one plain-text file per email and language, e.g. templates/invitation/html/fr.html and templates/invitation/text/fr.txt, and a subject.json with the subject in each language.
nullish ships the exported templates of each release, attached as templates.tar.gz. To send your own, mount your templates folder in the server and point NULLISH_MAIL_TEMPLATES_DIR to it, see Your own templates. An email falls back to the built-in template when yours is missing or empty for its language.