Greetings,
If you have field services, or Schedual and invoices, there is a button called "email workorder" and you could study how this works.
Method creates a report called Generate Report, then saves that as a action result. in my case its a PDF work order.
below that is the Send Email>Attachment, that generate reprot action result is there. From there a email goes to the employee and a attachement in that email is the PDF work order.
Hope this helps
John M