stop it showing dialogues unless it needs to
fix getting email