The Gmail Label Email Processor is a Python toolkit designed to automate the process of managing and processing emails through the Gmail API. This tool facilitates the fetching of emails based on specific labels, extraction of email addresses from these emails, and exporting the processed data into a CSV file for further analysis or use. Ideal for individuals and businesses looking to enhance their email management and data extraction workflows.
Before you begin, ensure you have met the following requirements:
credentials.json
file obtained from the Google Developer Console for your Gmail API project.Clone and install dependencies:
git clone https://github.com/SokinjoNS/gmail-label-email-processor.git
cd gmail-label-email-processor
pip install -r requirements.txt
Install directly:
pip install gmail-label-email-processor
After installation, configure credentials.json in the project's root and modify main.py or use the command-line interface:
gmail-processor --label "Your Label Name"
Replace "Your Label Name" with the actual label you're interested in.
Place your credentials.json file in the root directory of the project.
Contributions are welcome.
This project is licensed under the MIT License - see the LICENSE file for details.