This project uses Google's Gmail API to fetch, load, and display emails. Emails can then be downloaded to your physical computer and/or deleted from your Google Drive (while still being saved on your computer, if applicable).
- fluid loading bars on startup and during operations (deleting, downloading)
- Fully-featured, modern GUI
- storage space display
- searchbox that uses Google's native Gmail search for optimal results
- antimated buttons with colors that reflect state and function
- select all, clear selected, and range functions to make choosing emails easier
- shortcut to open directory where emails are saved
-
Signed into the Google Account you wish to use, create a new Google Cloud Project at: https://console.cloud.google.com/welcome
-
Under "APIs & Services", choose "Enabled APIs & Services" and enable the Gmail API and Google Drive API
-
Navigate to "Credentials", and create a new OAuth 2.0 Client ID with type "Desktop App"
-
Download the OAuth client .json file for the newly created credential
-
Clone this repo or download as .zip file
-
Rename the previously downloaded credentials file to "credentials.json" and place it in the same folder as main.py
- run main.py
- in the window that opens, sign into your Google account
- click "Continue" after signing in
- give your Google Cloud project access to access your Gmail and Google Drive
- PyEmail Manager should open automatically