I would format the dataset as a string and append it to the email body.
Here is a link to a print dataset function written by @JordanCClark that you could modify for your requirements. You could use html formatting to get newlines etc., ie <html>header<br>row1<br>row2</html>