Attachment support for Mailer

Adds attachment support for the Mailer service.
The majority of the changes in this test are symptomatic of the api breaking change - it would be better to keep them as is and add tests for any new overloads that need to be satisfied.