thesolarguys,
For your first question, it looks like you have already generated the correct value you want and put it in a pop-up message. Your next step could be to put that action result into a field, possibly a field called NumberOfWorkOrders in the Users table. This could be done with an Update Field In Table action. Once you have the value in your table, you can merge the field into your email template.
For your second question, it might be best to create a report that lists customer names with our Report Designer. You can then generate that report, put it in an action result, and attach it to your email in the Send Email action.
Hope this helps. Feel free to post back if you have further questions.
Jason