Send data via json and decouple the View from Model
If you use our powerfull editor to edit your Transactional Email Templates like we do for all our communication, then just send JSON as a mailbody in your code and we'll do the message build for you.
Ex: identify the template, run the template engine code (HandlebarsJS) and send the generated output (html or text).
This way if you want to change something in your mail template, you don't have to wake up or bother the programmers of your site / app. Just edit in our superb mail editor the BODY of your mail.