Added attachments to mail class.