Client side validation of email