Skip to content

Magento 2 email template – click to send email

I am including a variable email in my template. But it does not format to be clicked and open in the recipients email app (specifically gmail). I have figured out how to do this with a hardcoded email, but not a variable formatted email. Looking for assistance in how to code.

{{var order.getCustomerEmail()}}