WIP: Integration of mail_view gem

I know this needs more tests and documentation - they are coming but I'd like to get some feedback on the implementation whilst I finish off those today.

/cc @dhh