I had a query in my apps that was timing out and I made some performance adjustments by creating separate queries. I ended up deleting this original query. This query had a failure event handler which would add a record and send me an email (via retool email) with the details.
However, now that the query has been deleted and new versions of the app released I keep getting the emails any time users use the app. Meaning the query is still running (which triggers a workflow) even though it doesn't exist anymore.
Not sure how to address this and any guidance from the team would be helpful!