check for valid email string