You are browsing as a guest. Sign up (or log in) to start making projects!

35m 38s logged

26.06.2026


16:25 - start of log

So today it’s time to actually start making the mail sorting program. I am using gmail, as most of people do, so I will need gmail API tools (or something like this) to access my account and manage mails.

Program will scan for all unsorted mails every few minutes and sort them by keywords in corresponding fodlers. That’s the main point. Othen than that I might want to add something extra, but it’s not that important at the moment.

16:30 - end of log


17:44 - start of log

Google console is a nightmare! It has so many things and seems way too serious for a simple app like mine. With help of AI I managed to create a project and set it up to get OAuth stuff. Now that that’s done I am working on app itself now. Since I will publish thos project I need to make it versatile and easy to run too, which will make things harder. The only thing I hope is that this project will actually be worth my time.

As of current look on project I decided to have next app logic flow:

  • You create a volume for container and drop credentials.json in there
  • You launch a container with bound volume cointaining the credentials
  • If app runs for the first time…
  • App doesn’t see any token files
  • App reaches for google and requests user to allow app’s access to Gmail
  • App (presumably) gets approved and fetches tokens file, saving it to volume
  • If app runs not for the first time…
  • App finds token file
  • App logins to your account
  • App launches main sorting algorithms and does it’s job!Should be something like it.

    17:55 - end of log

0
2

Comments 0

No comments yet. Be the first!