Add reset email validation code.