There is a nice tool which allows you to autocomplete email addresses in mutt by making use of the contacts stored in the evolution data server of the GNOME desktop. The small helper programme was originally written by Sertac Yildiz and was updated recently to the latest EDS API by Paul W. Frields.
Since I use several address books I made some enhancements to the programme:
- Query all address books which are marked for autocompletion
- Support multiple search terms
- Command line options to ignore the auto completion setting and to include contact notes in the query results
But I dropped compatibility with EDS < 3.6. You can find the source code at Gitorious. The corresponding muttrc configuration would be: