do not add the recordset to the email template page.
the recordset should be on the page that contains the UE behavior
you need to define global variables for the recordset at line 1 of the email template page:
<?php
global $recordsetName;
global $row_recordsetName;
?>
in your case, the recordset name is rsORDER, so the code would be:
<?php
global $rsORDER;
global $row_rsORDER;
?>