pub const ATTACHMENT_KEY: &str = "attachment";
The declared-opacity marker: true says “read my payload as bytes, not as a document”, and it wins over what the extension suggests.
true