I tries the Apple Script you provided and it seems to work, but not exactly as expected. I edited it to notify me of cancellations if the success value was "1". I tested it by running a capture. The capture was successful, but the script sent me email saying the operation was cancelled. The message failed to tell me who it was cancelled by. Here's the message:
The QRecall action 'Capture MacOS Ext to MacOS Ext.quanta' was cancelled by ''.
Archive: MacOS Ext.quanta
Perhaps the data names are a little different now, and that's why the user name didn't show, and the cancelled message was triggered after a successful capture?
At any rate, I hope the script can be updated to work properly with the latest version of QRecall. I would also like to know what value commandSuccess would have upon a successful run, so I can get a script to run in that case too.
Thanks for any help!