Short story:
How do you create a link to a specific email in Mail.app?
Long story:
I am creating a calendar event that’s refering to a specific email. I can drag the email to Calendar.app and I can see the URL there. But how do I create that URL without dragging the email to Calendar.app?
I have heard a lot about this on the show, but I have never tried to do it before.
Bonus question:
Do the link work even though I move the email (eg Archiving it)?
Tia 
This is probably a job for Hookmark? Haven’t played around with it much but I understand it can ‘do’ email URLs just as it can many other things
2 Likes
EDITED FOR BONUS ANSWER 
Supercharge has this option using a keyboard shortcut. It copies the subject and the url.
I use a Keyboard Maestro macro that runs an AppleScript to copy the url only, like so:
tell application "Mail"
set selectedMessages to selection
set theMessage to item 1 of selectedMessages
set messageID to message id of theMessage
set messageURL to "message://%3C" & messageID & "%3E"
set the clipboard to messageURL
end tell
Yes!
6 Likes
+1 for using Supercharge. It’s also able to get links to individual Apple Notes if that’s your bag, but the Mail one is spot on for what you need.
2 Likes
If you plan on doing this a lot, use Hookmarks.
Thanks for the input!
I can confirm that Supercharge does the job as intended, and the link works even after moving the mail in question.
Awesome! 
