SokinjoNS / gmail-label-email-processor

A Python-based toolkit for efficient Gmail label management and email processing. It simplifies fetching and exporting emails by labels, making it ideal for automation and data extraction tasks.
MIT License
0 stars 0 forks source link

Gmail Label Email Processor

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.

Features

Prerequisites

Before you begin, ensure you have met the following requirements:

Installation

From GitHub

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

From PyPI

Install directly:

pip install gmail-label-email-processor

Usage

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.

Contributing

Contributions are welcome.

License

This project is licensed under the MIT License - see the LICENSE file for details.