Email template not updating
Last edited: 11/5/2025
If your email templates are not updated, check Auth Logs for any errors when the email is sent. When there are errors, we will use a fallback template with valid syntax so it will not show any of your customizations.
Typical errors relate to invalid syntax involving variables. Refer to the Email Templates docs for the supported variables and syntax.
Example error message
12"event": "templatemailer_template_body_parse_error","msg": "templatemailer: template type \"recovery\": template: https://api.supabase.com/platform/auth/PROJECT_ID/templates/recovery:2: function \"default\" not defined",The error shows an issue with default which is used in the invalid syntax below.
1{{ .Data.display_name | default: "test" }}The final correct syntax after removing invalid syntax.
1{{ .Data.display_name }}