What this page shows
This route is the main inventory for email templates. Operators use it to review template families, open the edit flow, export the catalog, preview stored HTML, and switch activation state.
The page also shows an Untranslated Email Templates block above the main list. Use that block to see which active templates still need translated body content or subject text by language.
How the page is organized
The main list is grouped by template family. Each accordion title follows the configured template order, and each open group contains the rows for that family.
For every row, the page shows:
- internal template ID
- template label
- row actions for activation, edit, and HTML preview
Translation coverage block
The translation coverage block is collapsed by default. When opened, it shows one row per language with:
- how many active templates are missing body content
- how many active templates are missing subject text
- whether that language still needs translation work
- actions to translate missing values or inspect the affected templates
Translate missing email templates updates template content for the selected non-English language. It uses the configured translation service, translates from the English subject/body, and then refreshes the stats. Treat it as a write action, not a preview.
View untranslated email templates opens a dialog listing the affected template IDs and names. From that dialog, operators can open the edit form for a specific template.
Important actions
Create: opens the create template formDownload: exports the template catalog as CSVActivate / Deactivate Email: toggles theisActiveflag on the selected templateEdit: opens the template edit screenView: opens a modal HTML preview for the currently stored bodyTranslate missing email templates: fills missing translated subject/body values for one language when the translation coverage block shows gaps
Why operators get confused here
Preview is not delivery proof
The View action opens an on-screen modal and renders the stored HTML body for the currently selected language tab.
That means preview is useful for quick inspection, but it is not the same thing as a fully delivered email.
Test send is not on the list page
Operators sometimes expect View to also prove delivery. It does not. Delivery testing happens in the edit screen through Send test email.
Notifications share the same FE component
The same component can switch to a Notifications tab, but the dedicated /notifications route documents that behavior separately. For the email-templates list itself, the primary status toggle uses isActive.
Known caveats
- The translation coverage block checks active templates. Inactive templates can be outside that count.
- Translation can partially succeed: some templates can be translated while others return per-template errors.
Downloadexports the full email-template catalog; it is not limited to the currently opened family or preview language.- The browser download can use a generic filename even though the server response has its own attachment name.
- Preview applies current casino settings substitutions in the browser before rendering the modal.