Hey buddy,
I think it's normal to have an off day like you described, I'm proud of you for still watching what you ate and being careful, when I got upset like that the first thing I would reach for is junk food. Chocolate was a must.
Emotional eating is something I'm trying to get away from. Anyway, hope your day tomorrow is a lot better, I'm sure it will be. See ya later, alligator!