Generate HTML emails using swig templates