If you’re an Airmail 3 user, this provides the ability to link to an Airmail email within an org document. This Gist uses the orgmode mechanism for adding additional hyperlink types.
Save the file to your Emacs load-path
and add (require 'org-airmail)
to your Emacs init file.
- Copy and Airmail message link in Airmail (
Edit-> Copy Message Link
). - Insert the link into an orgmode file just as you would any other (
C-c C-l ...
)
Thanks for this!
I just found this today. My emacs tells me that
org-add-link-type
is deprecated since Org 9.0, so I changed its use to this:(org-link-set-parameters "airmail" :follow 'org-airmail-open)
Other than that it works out of the box 👍