GmailSummary
The core functionality of this project is "Email Summary".
This project isn't a ready-to-use Python tool; instead, it's an example of API integration. If you happen to have similar needs, you can refer to the instructions in this project for corresponding modifications and further development.
📄️ Introduction
In daily life, we often start receiving activity update emails from GitHub repositories because we've clicked the "Watch" option on those repositories. These updates include but are not limited to discussions on new features, issue reports, pull requests (PR), and bug reports.
📄️ Gmail API Activation
This is a time-sensitive section as the usage of Gmail API might change with updates from Google.
📄️ Gmail API Credentials
After initiating the Gmail API, you'll immediately see the system prompting you to apply for credentials. Let's proceed.
📄️ Gmail API Calls
Now that the setup is complete, we can begin using the Gmail API.
📄️ OpenAI API Activation
In this chapter, we'll register an account on the OpenAI API website and obtain an API key.
📄️ OpenAI API Calls
The OpenAI API offers a variety of functionalities, and for this project, we'll be using the "Text generation models" feature. This feature allows us to input a piece of text, and the model will continue writing based on that input.
📄️ Integrating API
In this section, we'll discuss how to integrate the Gmail API and the OpenAI API to make these two functionalities work together.
📄️ Integrating All
After going through the previous explanations, we've completed the development of all features. Now, we need to integrate these features to automate the entire system for future operations.
📄️ Scheduled
We expect to see the latest email summaries every morning, so we need an automated scheduling task to achieve this goal.
📄️ Conclusion
With this project, we've once again successfully increased efficiency (or rather, indulged in some laziness).
🗃️ Example
8 items