https://supabase.com/ logo
#off-topic
Title
# off-topic
l

Lucho Suárez

12/12/2021, 12:58 AM
hello. Is there any way to customize the email templates? I changed the template for the Magic Link and it only changed the subject. I added a whole different html template for the body and it keeps sending the same default one. Can't find any info on what else to do
I was able to edit the template a bit. I just can't add the whole html and styling to the textarea. I just needed to add a few divs with inline css and it worked.
d

david-thyresson

12/12/2021, 12:34 PM
Hi @Lucho Suárez perhaps you encountered this issue https://github.com/supabase/gotrue/issues/278 where if the template has malformed variable replacement the default template will be used instead?
There is an open issue to verify the template when saving in Studio in the email template configuration area
If you could share in that issue the template markup that failed and the worked that would be a huge help! It sounds that template parsing check for some valid html and not just valid token variables
l

Lucho Suárez

12/13/2021, 4:07 PM
thanks @User I will comment on that issue later today.