select/open email in Mail via message id


I have a script that can read the header, the sender and the message id from a selected mail in Mail for mac OS X 10.6.

Now I would like to use this information (for example the message id which should be unique for one email) to open or select this particular email again with an applescript.

Is there any way to do this?

I found this so far:
but it seems to only work with MailTags installed …

No need to use the ID, just open the message:

tell application "Mail"
	set theSelectedMessages to selection
	set the selected_message to item 1 of the theSelectedMessages
	open selected_message
end tell

I can’t get the latest message selected in 10.7.5 :frowning: has anyone else had better luck with this script in 10.7.5 ?