recent-addresses allows you to quickly look up previously used addresses.
Add the following to your .emacs:
(require 'recent-addresses) (recent-addresses-mode 1)
Addresses are collected when sending through message-mode and when reading in gnus. The headers collected are defined in recent-addresses-headers and recent-addresses-headers-received.
Addresses can be added from email messages with recent-addresses-add-headers and recent-addresses-add-headers-received, as well as manually with recent-addresses-add.
To insert addresses, use recent-addresses-add-to, recent-addresses-add-cc or recent-addresses-add-bcc. If you want to be prompted for this automatically when you create an email, add the following to your .emacs:
(add-hook 'message-setup-hook 'recent-addresses-add-first-to)
If you have any feedback, please email me, or visit this package's page at the Emacs wiki.