Page body
What this form does
This surface is used to create a new email template or edit an existing one.
Operators use it to maintain:
- the internal template label
- subject text per language
- HTML body per language
- template type and its available variables
- test delivery before trusting a change
Create vs edit
Create
The create flow defines the template label, type, subject, and HTML body. It can also receive a notificationId from the route query when the template is being linked from a notification workflow.
Edit
The edit flow first loads the stored template from the backend, then lets the operator:
- change subject per language
- change HTML body per language
- insert AI or translated content
- send a backend test email
- save the updated template
How preview works
The page editor renders the current HTML body with dynamic-value substitution in the frontend. This helps operators review layout and placeholders, but it is still not the same thing as a delivered message.
Important actions
SaveSend test emailTranslateCancel
Known caveats
Send test emailexists only on the edit flow because it depends on the stored template context.- Translation helpers are FE-driven utilities layered on top of the saved template workflow. They are not the primary backend save action.
notificationIdandnotificationActivecan be linked through the same email-template save/update route, so email and notification semantics meet on one record.