add EmailSender unit test for email send.