The technique depends on how the message you want to attached the CSV file has been created.
If you used commands like GroupWise.NewMail() to create a visible email message, you would use GroupWise.ItemAttachmentAdd(). See the Formativ Language Guide for details.