Applescript to change subject line
The simple answer is that "subject" is read-only. Mail's Applescript dictionary shows:

subject (text, r/o) : The subject of the message


I would love to be able to combine messages into a thread, but I can't see how to change the subject without perhaps exporting and re-importing messages.