Analytics was edited. SendMail class was added and it works