I would have trouble calling optimism an emotion simply because it is so controllable. I did say I was being broad though so here it is. Optimisim, for me is putting things in perspective. Whenever something bad is happening, I simply think of those that are less fortunate than me. Sometimes this is little consolation, but it helps you not sweat the small stuff.