Just need a little toe-hold to get a script going that I am working on...
Tried this after selecting an email:
tell application "Mail"
set theMessage to selection
set theSubject to the subject of theMessage
display dialog theSubject
end tell
But get "Can't get subject of {message 94 of mailbox..." in event log.
Can one even grab individual properties from emails in Mail.app with AppleScript?
I can't even seem to list them:
tell application "Mail"
get properties of selection
end tell
gives, "--> Mail got an error: NSCannotCreateScriptCommandError"