Mail coverage: Added attachment, bounce, and switched from memcache to tmp data.
Add missing base class.