fix logger injection service in Mailer