GithubHelp home page GithubHelp logo

isafulf / inbox_cleaner Goto Github PK

View Code? Open in Web Editor NEW
403.0 403.0 26.0 11 KB

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

Python 100.00%

inbox_cleaner's People

Contributors

isafulf avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

inbox_cleaner's Issues

Very Effective. Be careful.

Left to go to work letting this run. Inbox is much better. Fantastically. Several thousands of cleared mail. However, I now owe openai $120. It took about three and a half hours to eat through my monthly budgeted api limit. First time I've hit it since I made an account back in January. So just beware anyone happening to read this before doing the same thing. ๐Ÿ™ƒ

Possible Open Source models?

This would, in theory, work with non OpenAI Models as well right? It would be cool to use a model like LLAMA for it.

Only 1 page fetched?

Hi I have like 25000 emails, read and unread. I am wondering when executing the script, the result I get is:

Email is worth the time, leaving as unread
Total number of unread emails fetched: 37
Total number of pages fetched: 1
Total number of emails marked as read: 0
Final number of unread emails: 37

How do I make it so the script goes through all 25.000 emails and deletes the ones that are not important?

Getting incorrect URI

Hi,

I am still at the step of setting up OAuth, in the URI field I am setting it to: 'http://localhost'
The script opens a random port every time, how do I define this in the URI or in the script, right now I am always getting:

_**Error 400: redirect_uri_mismatch

You can't sign in to this app because it doesn't comply with Google's OAuth 2.0 policy.

If you're the app developer, register the redirect URI in the Google Cloud Console.
Request details: redirect_uri=http://localhost:64714/
Related developer documentation**_

Because it is a random port every time, how to I proceed?

Thank you so much!

EDIT: Got it working by manually defining the port in the script.

IMAP edition

I'm one of those weird people who doesn't have Gmail for their personal email. It would be great if this worked with services other than GMail.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.