Template
Magento2 use equal in email template
In this wiki we will find a way to use "==" equal in the email template, actually there is no equal in the email template itself but we can refer to a phtml file and pass a variable to it then use the if/equal in the phtml file to do this you can easily add this code to the template
in the below example we will check if the payment method is bank transfer then we will write something