Feature request: to expose elements (from,to,subject,etc) as variables

Jean Louis mutt-dev at gnu.support
Thu Jul 19 23:00:03 UTC 2018


Hello developers of mutt,

I remember or have evidences on my computer of
using mutt since 2002. It handles all my
relationship needs that are based on email.

On my system, I have set it so that I am saving
all outgoing emails to Maildir folders like this:

~/Maildir/recipient-1 at example.com
~/Maildir/recipient-2 at example.com
~/Maildir/recipient-3 at example.com

and so on. It also means that all the conversation
that I have with that recipient is in one
maildir. This is very handy and useful.

If I press ESC-v then I can quickly jump to
~/Maildir/recipient-1 at example.com -- it actually
spawns new mutt on that maildir, and I can see
previous conversation of the person. Then I press
q to exit, and I am back in the original index.

Then I have features that I can for example, click
F9, and automatically verify if the email address
of a sender is already included in some of my CRM
groups or Customer Relationship Groups. Basically,
small program extracts the email address by
piping, and verifies it in the database.

Similarly, I can press ESC-k and tag a contact in
the database. Or I can make a note related to the
contact ID. It is all based on outside script that
reads the email address.

My handling would be greatly improved if some
elements of the email header would be exposed into
variables, so that such can be used in mutt
scripting.

Especially useful variables would be the From:
email address, and From: name, then equally the
Reply-To: and also Subject: and To: email address.

That is the feature request.

Then it would be possible to easier do things such
as making outside notes on a contact, opening
contact's directory to show all files related to
contact such as faxes, letters, pictures and
similar, easier saving by to/from email addresses,
and easier entering of name, email address,
subject into outside databases.

This feature is for my business very useful. I can
contribute in the way to translate mutt into
Swahili and few other languages.

Jean Louis


More information about the Mutt-dev mailing list