Jinja Environment should be thread safe (use webnotes.local instead of global)
Email Styling when Print Format is part of the body