Skip to content

Latest commit

 

History

History
11 lines (9 loc) · 691 Bytes

README.md

File metadata and controls

11 lines (9 loc) · 691 Bytes

Prerequisites

You'll need Python and pip installed. Whatever the latest versions are at the time will do.

Usage

  1. Clone this repository.
  2. Go to this tutorial by Google and follow the instructions in Step 1 to enable use of the Gmail API in your account (needless to say, you'll need a Google account). After you're done with Step 1, you will have a credentials.json file.
  3. Save credentials.json at the root of this project.
  4. Populate array in senders.json with 1 or more email addresses.
  5. Restore dependencies by running pip install --upgrade -r requirements.txt.
  6. Run python delete_emails_by_sender.py.