Working on MailSender and Logger, MailSender has some errors