added the test for the emails