Is it possible to write an Applescript to let me type a new subject line in a selected incoming message?
Apple Mail doesn’t allow you to edit the subject line of an incoming message. I need to do this occasionally to make it easier to find an archived message in the future.
A workaround is to drag the message into the Drafts folder, edit it, then drag it to the desired folder. However, this operation also changes the FROM address to my own and makes any links unclickable. So it’s not perfect.
Martin
Model: G4 tower 2x1GHz
AppleScript: 1.10.7
Browser: Safari 419.3
Operating System: Mac OS X (10.4)
Hello Martin,
subjects of incoming mails aren’t editable directly, neither with Mail nor with AppleScript
Resurrecting this question because I’d like to know why it’s not possible to modify the subject line with AppleScript? Is it somehow “locked” within the Mail application?
If so, I wondered if it would be possible to do it indirectly? Maybe:
Get the “id” number of the selected message in the “Inbox”.
Message-ID: 000201c86fc8$5e987050$2380a8c0@BACKOFFICE
Locate that message in Home → Library → Mail → POP-something@mail.satcure.net → INBOX.mbox → Messages → 217826.emlx
Alter the Subject line in that file.
Get Mail to recognise the altered file.
Any thoughts on this?
Martin