A simple Python script to tag your G-Mail with AI + a custom prompt you set.
git clone https://github.com/farzaa/stupid-emails.gitcd stupid-emails- Rename
secrets.template.jsontosecret.jsonand add your OpenAI key in to it. - You need a GMail API key. It's not that hard. Here's how.
- Go to
prompt.txtand add your name + bio. pip install -r requirements.txt- Run script
python tag.py, Google Auth will open and ask for read/write acceess. The script takes your email, send it to OpenAI, and gets back a tag. That's it. Nothing is saved. It's not gonna randomly send emails on your behalf lol. You can read through the code if you don't trust me.
