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