Applescript error -10000 when saving Mail attachments in Mojave 10.4.6
Following a hunch that it had to do with the steadily increasing new permissions requests, I added the "Script Editor" app to this preference:
System Preferences > Security &amp; Privacy > Full Disk Access

The error -10000 disappeared and the script is back to saving attachments.
I'll update if the error returns.