Added support for inline/related attachments