Added phpmailer class and added html formatted emails.