interesting, well, there is more than one way to skin a cat....
instead of using the URL variable, UE creates a session that contains the status of sending the email.
you can use the session in the if statement instead of passing the URL variable.
send a copy of your page and I can see the session name to give the session based code.