David Sparks posted about a clever idea to instantly link to Apple Mail messages from anywhere.
Here's an adaptation that works with MailMate and Keyboard Maestro.
MailMate doesn't have a ton of AppleScript support, but there is built-in Copy Links to Messages
bundle command, and you can execute bundle commands via AppleScript.
Get email link (MailMate).kmmacros (3.2 KB)