email validation fixes