I'd like to describe a neat feature of my email set-up. Whenever I write an email to a specific address, I would like to use a different
FROM-address for this email recipient instead of my standard email address.
This way, I can give away contact-specific email addresses. That's quite handy when you've got a catch-all email domain or you are using some more or less hidden features of cloud-based email services.
Having this possibility, enables me to use
Microsoft@MYDOMAIN.at for emails that I write to Microsoft, event-related addresses like
chi09@MYDOMAIN.at when I write to people I met at this conference back then, and so on.
For this purpose, I wrote muttfilter.py which does the trick for me fully automatically.
Let's take a look at an example Emacs Org-mode Org-contacts entry which looks like that:
** Bob Simpson :research:chi09:BobSimpson: :PROPERTIES: :TYPE: :TITLE: Dr. :EMAIL: Bob.Simpson@example.com :oldEMAIL: Bob.Simpson@outdated.example.com :URL: http://example.com/bob :MOBILE: :HOMEPHONE: :WORKPHONE: :PHONE: :COMPANY: This cool research company :STREET: 42 Weirdstreet :POSTALCODE: 12345 :CITY: Denver :COUNTRY: USA :PHOTOGRAPH: [[photo:BobSimpson.jpg]] :BORN: 1970-12-31 :ITOLDTHEM_EMAIL: chi09@MYDOMAIN.at :ITOLDTHEM_ADDRESS: :ITOLDTHEM_PHONE: :ADDRESS_CHANGE_METHOD: email :CREATED: [2015-01-30 Fri 17:51] :END: - first contact: CHI conference 2009 - we had a nice lunch time together
Whenever I write an email to Bob (property
:EMAIL:), I would like to use
:ITOLDTHEM_EMAIL:) instead of my standard email address.
The README file on the GitHub-page explains how to install and set-up this script. I'm using it with mutt and gVim but it should work with any MUA/Editor combination which allows a wrapper script to be called before composing an email.