test code for email send