support for attachments(inline too)