Skip to content

A Python application that automatically fetches your emails with the Gmail API, generates AI-powered summaries using Gemini LLM, and creates daily task summaries in Todoist.

Notifications You must be signed in to change notification settings

ItsMacto/Todoist-AI-Email-Summarizer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Todoist AI Email Summarizer

A Python application that automatically fetches your emails with the Gmail API, generates AI-powered summaries using Gemini LLM, and creates daily task summaries in Todoist.

Installation

  1. Clone the repository:
git clone https://github.com/ItsMacto/Todoist-AI-Email-Summarizer.git
cd email-summary-manager
  1. Set Up Your Environment and Install Dependencies:
pip install -r requirements.txt
  1. Generate Todoist API key here and store it for set up
  2. Generate Google Gemini API key here and store it for set up
  3. Allow access to gmail
    • Ensure you have a valid credentials.json file downloaded from the Google Cloud Console (with Gmail API enabled)
    • Place the credentials.json file in the project root alongside main.py.
  4. Run the application and follow fill in the config:
python main.py
  1. Optional: Set up a cron job to run the script daily at a specific time. For example, to run the script at 8:00 AM every day, add the following cron job:
0 8 * * * /usr/bin/python3 /path/to/email-summary-manager/main.py

Todo

  • Add support for multiple email accounts
  • Better prompting and filtering for emails
  • Dynamic priority level
  • Better logging
  • Typing to functions

About

A Python application that automatically fetches your emails with the Gmail API, generates AI-powered summaries using Gemini LLM, and creates daily task summaries in Todoist.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages