separate attachments and content