added testing for emails