Attachment support for Mailer

Adds attachment support for the Mailer service.
ByteArrayOutputStream should be OutputStream