change behavior: include all attachments but encode content only for supported content types