ScriptLibrary record

Both the getMailBody and getMailHeader functions are defined in an htmlemailtemplates ScriptLibrary record.