Example of how to send an email with attachments using AppleScript and 4D.