Email functions The table below contains a short description of each script function. For information about syntax, examples, etc., see the full description of each script function. Function name Description AttachmentBegin This script function is normally called from a Before Process script on the first Process to include in an attachment. AttachmentEnd This script function is called from an After Process script on the last Process. It stops the AttachmentBegin function. GetAttachmentFile Returns the file name of an attachment saved to disk via an EmailIN connector. GetAttachmentCount Returns the number of attachments in the current email that have been saved to disk via an EmailIN connector. GetAttachmentOriginalFile Returns the original file name of an attachment saved to disk via an EmailIN connector GetAttachmentContentEncoding Returns the encoding of an attachment saved to disk via an EmailIN connector. GetAttachmentContentType Returns the content-type of an attachment saved to disk via an EmailIN connector. MIMEAddPart Adds a resource to the output connector connected to the Process. The resource can be used as an attachment, a body or alternative body. MIMESetPartProperty This script function is used to specify additional options for parts added by a previous MIMEAddPart call.