turned on email regex and email error msg