I'm using org-mode and mu4e. I'd like to have each email become the active link so that I can link to it in Org. When viewing an email, I can C-c C-l
(bound to (org-store-link)
) to make a link to it, and then elsewhere in Org C-c l
to paste the link. I'd like the (org-store-link)
part to happen automagically each time I send an email.
I've found two hooks: message-send-hook
and message-sent-hook
but am not sure where to call (org-store-link)
. I've tried that in a function on each hook, but it doesn't work. I think there is additional trickery to catch the just-sent (or sending) message.