throw exception in mailer if failed and remove logger