Script/Widget stops working

I'm very new to BTT (still using the trial version), and I created a very simple script that deletes the email that I hover over, when I 3 finger tap my TrackPad. Occasionally, the script stops working. Bouncing both Mail & BTT, doesn't fix the problem.

Mac Studio, MacOS 12.6, Mail 16, BTT 3.888, Magic TrackPad

Can you post the script?

I'm not sure of the best way to post the script, but here's a screenshot of it.