Is there a way to preview a message attachment from the Sidebar plugin, for example using the plugin SDK downloadAttachment()?
I am currently only getting a File object returned from Front.downloadAttachment('msg_xxx', 'fil_xxx') with the following properties:
lastModified: 1740416909060
lastModifiedDate: Mon Feb 24 2025 18:08:29 GMT+0100 (Central European Standard Time) {}
name: "fd880b5930634b94bfa961a2b3815db2.jpg"
size: 293622
type: "image/jpeg"
webkitRelativePath: ""