Ideas for triggering a query from an email via the url

You don't need to do anything there. In the HTML that you send in the email you would do something like this:

<button href="{url_to_app}?action=approve">Approve</button>
<button href="{url_to_app}?action=deny">Deny</button>

That will allow urlparams to be available in your app.