PARSE EMAIL CREATED  made changes to Test error type