The egg is the all-important binder in a sweet potato casserole: it enriches and stiffens the mixture without making it heavy. Make sure to cool the mash slightly before adding the egg so it doesn't scramble, and to stir well so there are no streaks of cooked egg white in the finished dish.