Change MailSender from LogItObject to a self-factory