URL to individual email
Is it possible to have an url that links to an individual email message on my local machine? So that if I click on osxmail://759847982
my mail client will open that specific message.
GMail can do this, but I wonder if it's possible in a native client.
I'm open to any application, it doesn't have to be Apple Mail.
Solution 1:
You can simply drag the message from Mail.app to a folder to create the link you want. The link that is generated is automagically named using the subject line of the email message. Yes, there are many such situations where Mac OS will do the natural thing.
You can also drag any message to TextEdit.app (as long as it's to an RTF document). Sadly, I haven't gotten this to work with Pages '09, but TextEdit isn't that bad. The same is reported to work with Stickies. See this link for a stickies example.
Here is another approach:
In Mail.app, on the message that you'd like to link to, select
View->Message->All Headers
(or ⇧⌘H)
and look for the a line that begins with Message ID. Copy the text to the right of "Message ID" and use it to link to that message via
message://<copied-messageid>
. Make sure to copy the <
and >
along with the rest of the id. I've tested this and it works with Safari.app as described in this article on MacOSX Hints.