It should be possible to store deleted attachments in the database, similar to the way deleted documents are stored.
Deleted attachments not accessible via document history
XSS in the deleted attachments list
New APIs for accessing deleted attachments from the trash
Recycle bin for deleted documents