Skip to content
This repository has been archived by the owner on May 3, 2023. It is now read-only.

macOS compatibility interoperability

Mike Hardy edited this page Dec 10, 2018 · 2 revisions

macOS compatibility / interoperability

If you use macOS+Mail.app at the same time you use Thunderbird on Linux, this page will describe how to get them to work. It is notoriously difficult to register new protocol handlers in macOS, and we don't have good solutions for that so the strategy we will use to interoperate is to rely on macOS/Mail.app default behavior, then configure our non-macOS systems to respond correctly to macOS/Mail.app links.

Generate macOS/Mail.app links in Thunderbird

  • macOS by default will open the correct message in Mail.app if you generate a link in the format: message://%3cCAOHnz+nZFtb85YCW-CGNOLXUQzrfNWKZ-xnNr2s3RsSSKkCQXA@mail.gmail.com%3e
    • Note the message://%3c ..... %3e style - the .... is where the actual message id goes
    • This format is "Thunderlink default 4" in thunderlink versions >= 1.2.3

If you generate a clickable link in that style you can paste it in somewhere:

  • <A HREF="message://%3cCAOHnz+nZFtb85YCW-CGNOLXUQzrfNWKZ-xnNr2s3RsSSKkCQXA@mail.gmail.com%3e">my subject here</A>
    • This format is "Thunderlink default 6" in thunderlink versions >= 1.2.3

Configure Linux to handle macOS/Mail.app links

Generate macOS/Mail.app links in Mail.app

  • While you are using Mail.app you may find you want to create ThunderLink-style specific-message links. Obviously we can't create thunderlinks, but now that we have a translation from messageids to thunderlinks, we can safely generate messageid links. There is AppleScript to do so here.