/BGTrackPackages

Pulls tracking numbers from gmail and stores information on buying group destination and email

Primary LanguagePython

BGTrackPackages

Pulls tracking numbers from gmail and stores information on buying group destination and email

Installation

  1. Install python 3.7+ or newer.
  2. Then install the requirements for this script.
pip install -r require.txt
  1. 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.
  2. 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.