Cleanup email sending and test data
Fix response success flag.