The recordset should not be in the template file. It should be in the main file that Universal Email is applied to.
Then in the template file declare the recordset and the row array as globals
then you can use the recordset bindings in the email body:
<?php echo $row_recordsetName['columnName']; ?>