Gmail Automation is a Python project that automates the process of reading and summarizing new unread emails in your Gmail inbox. The summarized content is then transformed into a spoken output, providing a convenient way to consume your emails hands-free.
- Email Extraction: Automatically retrieves new unread emails from the Gmail inbox.
- Summarization: Summarizes the content of each email for quick understanding.
- Text-to-Speech: Converts the summarized content into a spoken output.
Before you begin, ensure you have the following installed:
- Python 3.12.x or higher
- Google API credentials for Gmail API access.
-
Clone the repository:
git clone https://github.com/Gabriel-Dee/Gmail-Automation.git cd Gmail-Automation
-
Create environment and Activate it:
python -m venv env source env/bin/activate
-
Install the required dependencies:
pip install -r requirements.txt
-
Set up Google API credentials following the instructions here.
-
Set up openAI API credentials following the instructions here.
-
Run the main script:
python main.py
-
Follow the on-screen instructions to authenticate and grant access to your Gmail account.
-
Sit back and listen as the program reads out the summarized content of your new unread emails.
- Modify the
config.py
file to customize settings such as summarization algorithms, voice options, etc.
Contributions are welcome! If you'd like to contribute to the project, please follow these steps:
- Fork the repository.
- Create a new branch for your feature or bug fix.
- Make your changes and submit a pull request.
This project is licensed under the MIT License.