How to customize MIME media type emitted for certain attachments?

Hi everyone…does anyone have any ideas why this isn’t working?

Thanks!