Skip to content

Instantly share code, notes, and snippets.

@satnami
Last active September 1, 2021 05:17
Show Gist options
  • Save satnami/49419a8489edbeb77f72a6484e38801c to your computer and use it in GitHub Desktop.
Save satnami/49419a8489edbeb77f72a6484e38801c to your computer and use it in GitHub Desktop.
Finding the Most Frequent Senders in Your Gmail Account
# From https://ryanfb.github.io/etc/2019/08/26/finding_the_most_frequent_senders_in_your_gmail_account.html
# Go to https://takeout.google.com/
# Select only Mail as mbox file
grep '^From:' ~/Downloads/Takeout/Mail/All\ mail\ Including\ Spam\ and\ Trash.mbox | cut -d'<' -f2 | tr -d '>' | sort | uniq -c | sort -rn > senders.txt
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment