I have the value of the
Message ID header of a particular message in my mutt's inbox and I want to open it with a one shot mutt command, read and close.
Currently, I open mutt, do a with
~i <the-message-id>, which lists just one message, and then open it with
o (My keybinding to open a message).
Is there a way I can create a shell function/script to enable a usage like
and the message opens up in mutt? I tried playing around with the
-e option of mutt but couldn't get this functionality working.
Any ideas on this?