Skip to content

jaysee260/python-gmail-deleter

Repository files navigation

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.

About

a python script for deleting emails from gmail

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages