easy-install -U goobook
Once installed create .netrc file in your home folder with the credentials to your google account
inside .netrc put the following
save the file
to test if it is working type
this will dump all your contact information from gmail to stn out
to search for a string from your gmail contacts type
goobook query query
eg to search for clive type
goobook query clive
if you want to use goobook from mutt
edit your .muttrc file and add in the following line:
set query_command="goobook query '%s'"
to query the address book from inside mutt use the "Q" key
If you want to be able to use
bind editorTo add email addresses (with "a" key normally bound to create-alias command) add the following line:
macro index,pager A "
If you want to add an email's sender to Contacts, press "a" while it's selected in the index or pager.