It might be good to have a look how email templates are rendered within OAE. Maybe we can use the same strategy here? (e.g. https://github.com/oaeproject/Hilary/blob/master/node_modules/oae-discussions/emailTemplates/default/notify-discussion-share.html.jst)