Yes, it's customary to celebrate happy occasions with cake, but if you think about it, you need cake much more during the bad times. So forget greeting cards filled with platitudes - use cakes filled with sugary goodness!
Jen over at Cake Wrecks has a fantastic post about some unusual uses of cakes to deal with life's sadder moments: Link