Have you read any of the Spark articles on emotional eating ? If not, you might want to start with this one. It has many good techniques that can help a person get past some of those rough spots. www.sparkpeople.com/resource/wellness_arti
Also, if you know that your healthy habits tend to lapse during periods of high stress, then you need to look for ways to reduce your stress. I'm a firm believer that stress is a neglected aspect of weight gain. If a person could reduce their stress, they'd automatically reduce their waistline. So, if times of stress, how about a cup of tea ? put on some relaxing music. take time to breathe. You may find these things helpful.