You sound like you need some hugs!
Well, it's only 6lbs. Trust me, I have gained and lost about a thousand pounds in my life and I've always had times where I gained weight, even with my best effort. Because trust me, life isn't going to stop happening to you. Stressful things come up, stuff happens. We react. Some people get drunk, some people chain smoke, some people hide and some people eat.
I think its important you stop, breathe, relax, accept that you gained the weight. It's there, and that's all there is to it. Cause and effect. It does NOT reflect on your character or mean you failed or mean you're a bad person in any way. It means you overate and your body kept the excess calories the way our bodies are designed to. Think of it as simple biology if that helps remove the personal stigma.
Being an emotional eater myself, I would suggest you think of better coping techniques for life stress. Make a list of all the things that would make you feel nurtured the way food does, and what will get you away from those cabinets calling your name. Daily affirmations are also a good idea. When your life isn't so stressful, practice those techniques that way when something comes up, you'll have one or more coping skills to rely on. I don't know how much in-person support you have, but maybe consider joining a weight loss support group in your area. There are groups of people who just started their own with others, and are not an official group. I find those to be the best. You can usually find them through Craigslist. If you don't see any, post an ad asking for one. Who knows, maybe some people will email you wanting to start up a group.
I just really want to say that this is okay. It's okay to have slip-ups, this is not a all-or-nothing game where there's winners and losers. There's just you and your journey. This probably isn't your first, and it won't be your last slip-up resulting in a gain. That doesn't give you permission to slip up when you feel like it ("I'm going to gain anyway so why bother!" mentality), but it does give you permission to go easy on yourself when you're in a situation and do. Beating yourself up only makes it that much harder to get right back on the horse.
Take care of yourself and consider maybe starting back on your diet slowly and reintroduce yourself with your healthy lifestyle. It's still there, trust me.