I need to send custom variable via the email templates(i have customize the templates but dont know how to get custom variables) In my case i need when user pay for subscription i am saving his receipt in a collection(payment) and updating his user profile with 2 custom fields is_pro (bool) and pro_type(checkbox)
so i need to send the {receipt} and {pro_type_value} to the user.