Finished email address validation function.