Hello
@alert-room-61990
If your emails are being sent as plaintext despite having an HTML version, it could be due to an issue with the HTML template. Here are a few things you can check:
1.
Syntax errors in the HTML template: Ensure that your HTML template is correctly formatted and doesn't contain any syntax errors. Even a small mistake can cause the entire template to fail.
2.
Template location: Make sure that your custom HTML template is in the correct location as specified in your Ory Kratos configuration [
source].
3.
Configuration: Check your Ory Kratos configuration to ensure that the
html
field is correctly defined under the
body
key for your email template [
source].
4.
Delivery issues: If the HTML version of the email cannot be delivered for some reason (for example, if the user's mail server is blocking HTML emails), Ory Kratos will fall back to the plaintext version. You can check the email delivery status in the Ory Console [
source].