BGTrackPackages
Pulls tracking numbers from gmail and stores information on buying group destination and email
Installation
- Install python 3.7+ or newer.
- Then install the requirements for this script.
pip install -r require.txt
- Follow the first two steps on the Gmail quickstart guide to create a credentials.json file that allows you to access your gmail account via web services.
- Set up the
query
value in gmailtracking.py to find all shipment tracking emails. I recommend configuring a label rule in gmail and querying for all emails with that label to keep this script simple.