I had one of those days yesterday. Had a stressful day (someone drove a car into my house - bizarre but true) and my first instinct reaction was to eat rubbish. Had a subway, chips from the chip shop and a pint of lager. Went to bed feeling rubbish and like I had ruined everything but after a fresh start this morning I feel loads better.
I think I will never lose my instinct to turn to food based on my mood but I think it's how you recover and move on rather than letting the guilt affect you for days and weeks. Hopefully eventually I will also temper the extremes of my emotional eating and making better decisions.