Sending email from ScriptedAction.html in RTIR

One of the tools from RTIR can generate tickets and send emails. It sends
the emails as attachments though, and I would like them to be inline. I have
been looking at the code and am not sure how to modify it so that the emails
are inline.

When the ticket gets created, does the normal RT flow of scrips still
happen? There is a scrip on the Investigation queue that should send an
email when a new ticket is created. It works fine when I use the html
interface to create a new investigation from a Incident, but when creating
the Investigation from ScriptedAction.html I don’t think this scrip gets
invoked. I think the email is getting generated from ScriptedAction.html. Am
I correct in this assumption? If so, how do I make it send the email inline?

Thanks
Dave

This e-mail may be privileged and/or confidential, and the sender does not waive any related rights and obligations. Any distribution, use or copying of this e-mail or the information it contains by other than an intended recipient is unauthorized. If you received this e-mail in error, please advise me (by return e-mail or otherwise) immediately.

Ce courrier �lectronique est confidentiel et prot�g�. L’exp�diteur ne renonce pas aux droits et obligations qui s’y rapportent. Toute diffusion, utilisation ou copie de ce message ou des renseignements qu’il contient par une personne autre que le (les) destinataire(s) d�sign�(s) est interdite. Si vous recevez ce courrier �lectronique par erreur, veuillez m’en aviser imm�diatement, par retour de courrier �lectronique ou par un autre moyen.