Dear _________,
I really want to apologize about yesterday. When we got together I know I was a total grump, and not a very fun person to be around. But you were so patient and kind. You listened to me vent, and then offered some very good advice. I am so lucky to call you my friend. You always know just how to bring out the best in me!
(YOUR NAME HERE)