Support for attachments in mail class.