Added MailCore2 dependency and EmailSerivce