Modified some html code for email templates