Null checking on MailSender