test for email notification