a lot of mug cake recipes omit the egg and use baking soda, baking powder, or both, to leaven and firm the cake the way an egg does, but i encourage you to add an egg in addition to the soda or powder anyway, since it'll make the mug cake much richer.