While you don’t have to put egg in a mug cake, I think it adds a pleasant richness and moisture to the cake. If you’d rather skip the egg, use 1 flax egg instead.