Join GitHub today
Adding a message sender as a contact #23
This is the last issue that is preventing me from fully migrating from abook to ppl!
abook has an
When I'm on a message in Mutt I hit the
I'm prompted like this for every sender found in the message. This includes the sender set in the header, but if it is a forwarded message it also includes the sender of the original message.
If I hit 'y', a new contact is added to my address book with a name of "John Doe" and an email of "firstname.lastname@example.org".
If the message did not have a proper
If I selected 'y' the new contact would then have a name of "email@example.com".
Adding this functionality would expand the scope of ppl from just managing contacts to also scraping messages. I understand if you do not want to go down that road. It may make more sense just to write a small, separate script that does the scraping and passes the results to ppl.
The way I'd probably achieve this is by adding something like the mail gem as a dependency and writing something along these lines:
So while ppl would nominally be scraping messages, this is functionality we can have without any real scope creep in terms of adding lots of "clever" code to ppl.
I like this idea. I think I'd probably use mutt more often if I had more helpful stuff like this set up, so this has caught my imagination a little. I think the way I'll go with this is to implement it in the form of some sort of
And since this is partly about abook feature parity, this will probably eventually need a