added support for email reports using thyme LEAF