###Batch import CSV to a Spreadsheet http://stackoverflow.com/questions/17578317
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
tell application "Microsoft Outlook" | |
set theMessageList to selected objects | |
log theMessageList | |
set theMessage to item 1 of theMessageList | |
set theSubject to the subject of theMessage | |
set theTime to the time received of theMessage | |
set theBody to the plain text content of theMessage | |
set theSender to the sender of theMessage | |
set theSender to the address of theSender | |
set theID to the id of theMessage |