But one thing that would help me a lot is if attachments could be saved via DAVx5 (or SAF) so there's some way for me to find them on other devices. It would also keep them from getting lost when people switch phones.
Maybe if there was a way to specify where to save the attachments. Right now it seems to be hardcoded to something like content://com.android.externalstorage.documents/tree/primary%3ACalenGoo/document/primary%3ACalenGoo%2FAttachments.
As for an ATTACH tag, this is what Nexcloud is generating but I see it's chock full of extensions so i suspect it isn't going to be too helpful:
ATTACH;FMTTYPE=application/pdf;FILENAME=/filename.pdf;X-NC-FILE-ID=12345;X-NC-HAS-PREVIEW=true:/f/12345
On the other hand, this might just be the blob you get back when you create the file so maybe it's usable?
Any thoughts?