Regression testing for sending the emails