added email class and phpmailer library