Instead of beating yourself up, treat yourself like you would treat a close friend or relative in the same position. I wouldn't tell someone I care about "Way to screw it up, dipstick" or "What a fail". I'd say "No biggie, tomorrow's another day and there's always a fresh slate available" and be supportive of efforts.
Sometimes I wonder if my own emotional eating has a lot to do with the realization that every time something comes along that makes me want to sabotage myself, I call myself a jackass instead of trying to be nice to myself about not being 100% perfect.
Pull out your big girl panties and toughen up.
Quit this, eat that, don't eat those, eat more of these. Make sure you get enough of this per pound of body weight, and eat more of these for hormone regulation.
I've spent the last year with eating habits driven by stress and with the resulting gains. If things are better NOW (stress-wise) then eat healthy NOW. Don't plan on going off-plan on Christmas- just allow it if it happens. Carpe Diem. Seize the carp and eat it today. Tomorrow will happen when and how it does.