Applescripts not working in Scripts menu in Catalina
I have application-specific scripts in the ~/Library/Scripts/Applications/Mail folder, so they appear in the System Scripts menu when I am in Mail. They run correctly if I run them within Script Editor, but not if I select them in the Scripts menu; the script is apparently triggered because the "gear" turns briefly in the menu bar, but nothing happens. These are scripts installed by the DEVONthink 3 application, which worked in El Capitan. Since I have updated to a new machine running Catalina, they no longer work. Has something changed in the way AppleScript interfaces with Mail?
MacBook Air 13″, macOS 10.15