Title says most of it… but looking to export every contact email I ever contacted from iMail (Mac OS).

ie: when I create a new message, all the suggested emails that come up on “To:” - can I export this? I looked endlessly online to no avail.

found this thread: https://superuser.com/questions/1608680/export-email-from-addresses-from-imap-server-as-csv

I tried it but then I realized it wouldn’t export just the contact, it would export each email individually…

Any ideas?

TIA

  • @eehbklB
    link
    fedilink
    English
    17 months ago

    If you can use an email program to access your email, you can download all your emails, export them to files on your HDD, then have a python script go through them and save all the “from” and “to” email addresses to a csv file. Should be pretty simple.