Google Contacts CSV to mutt alias file (Haskell)
A utility to extract contact records from a CSV export of Google Contacts and fashion an email aliases file in the format expected by the mutt email client.
Contacts without email addresses are excluded.
For contacts with more than one email, the email label will be included in the nickname.
Example usage:
$ gcalias takeout-20220125T221219Z-001.tgz
alias nicky_remaklus Nicky Remaklus <[email protected]>
alias leopoldo_lawonn_home Leopoldo Lawonn <[email protected]>
alias leopoldo_lawonn_work Leopoldo Lawonn <[email protected]>
alias burton_bourke_home Burton Bourke <[email protected]>
alias burton_bourke_zmail Burton Bourke <[email protected]>
alias kelley_bomberger Kelley Bomberger <[email protected]>
...
Redirect this output to where you keep your mutt_aliases file or whatever email client you use that needs this format.
Source code is available from github at the gcalias project page.
Dino Morelli [email protected]