check if email and token are set