client side email validation