Hi
Would this work for you?
Add a Utility step of "Output Log Message". To this step add a "Read Rows from a JDBC Table" dataset, and populate accordingly.
Set the Output to be that you need saving for each row of data,
To the same step, add a "Utility" filter of "Save Property Value to File" and use "Append Mode." Use the response property of the Output Log Message step as the "Filter In" value
Thus will let you capture your results into a file and is a single test step. for an example, please see the JavaConfiguration step in the DevTest_config_info.tst in the supplied examples
After this step, you can use the "Send Email" step with the file as an attachment.