Install goobook:

sudo pip2 install -U goobook

I ran into some problems in arch, had to upgrade/reinstall a few deps:

(ノ^ヮ^)*:・゚✧ sudo pip2 install -U pyasn1
(ノ^ヮ^)*:・゚✧ sudo pip2 install -U cryptography

goobook then needs to authenticate with gmail:

goobook authenticate

Once you go through the oauth song and dance you should be able to run a query

(ノ^ヮ^)*:・゚✧ goobook query tyler    Tyler Cipriani  other groups: "System Group: Friends"

From there, just need to add a bit of magic to the ~/.muttrc file

set query_command="goobook query %s"
macro index,pager a \
    "<pipe-message>goobook add<return>" "add sender to google contacts"
bind editor <Tab> complete-query

Viewing URLs

Install urlview: ncurses program parses urls out of text.

Create a $HOME/urlview file:

COMMAND xdg-open %s &

Bind \,u in the editor:

macro pager ,u "|urlview<enter>" "call urlview to open links"

Searching Mail

Searching works really well via notmuch

Afer install, setup via

notmuch setup

After setup, it’s just a matter of calling

notmuch new

to index the things