Mailer: Add support for sending attachments

Allow sending attachments. This also increases the mailer version number.