flâneur — a map of the web's best reading

isafulf/inbox_cleaner: A python script to help manage a Gmail inbox by filtering out promotional emails using GPT-3 or GPT-4.

github.com · 135 words · saved by 1 readers

A python script to help manage a Gmail inbox by filtering out promotional emails using GPT-3 or GPT-4. This script helps manage a Gmail inbox by filtering out promotional emails using GPT-3 or GPT-4. Clone this repository: Install the required Python packages: Set up your Google API credentials: Set up your OpenAI API key: Follow the instructions here to get your OpenAI API key. Set the key as an environment variable: Run the script: When prompted, enter your first and last name. The script will then start processing your unread emails. A python script to help manage a Gmail inbox by filtering out promotional emails using GPT-3 or GPT-4.

Inbox Cleaner This script helps manage a Gmail inbox by filtering out promotional emails using GPT-3 or GPT-4. Prerequisites Python 3.7 or higher Gmail account Google Cloud account with Gmail API enabled OpenAI API key Setup Clone this repository: git clone https://github.com/isafulf/inbox_cleaner.git cd inbox_cleaner Install the required Python packages: pip install -r requirements.txt Set up your Google API credentials: Follow the instructions here to create a new OAuth 2.0 Client ID. Download the JSON file and rename it to credentials.json . Put credentials.json in the inbox_cleaner directo

Explore this link on the map →

related reading