added controller and model specs for MailHandler

Specs ported from the old unit tests which I removed at the same time.
Some specs are not working, until now.