Added attachments to email module.