Access Google contacts from mutt or the command line. More information: https://manned.org/goobook.
mutt
goobook
goobook authenticate
goobook dump_contacts