updated email validation