Check invalid email and finish