Inspiration

This is for one of MLH's Local Hack Day Week-Long Challenges: Automate a Daily Task. Checking multiple email inboxes is a mundane task, especially for work-related inboxes that aren't synced to your local machine. If new emails don't come frequently, why not just run a script that returns the number of new/unread emails to save time for unnecessary logins?

What it does

Run it on the terminal and it will return "New or Unread emails: #"

How we built it

Just python.

Learning

  • Gmail API docs for python was not easy to understand.
  • Use pip3 if using Python3

What's next

Currently only fetching from 1 inbox. Code can be modified to simultaneously fetch from multiple gmail accounts.

Built With

Share this project:

Updates