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
- Authenticate with the Gmail API securely.
- Fetch emails by user-defined labels.
- Extract 'To', 'Cc', and 'Bcc' email addresses from emails.
- Export extracted email addresses to a CSV file.
- Simplify the automation of email processing tasks.
Prerequisites
Before you begin, ensure you have met the following requirements:
- Python 3.6 or higher installed on your machine.
- Access to a Google Cloud Platform account with the Gmail API enabled.
- A
credentials.jsonfile obtained from the Google Developer Console for your Gmail API project.
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.
Metadata
Release files for gmail-label-email-processor 1.0.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| gmail-label-email-processor-1.0.3.tar.gz | 2.5 kB | Without provenance | Details for gmail-label-email-processor-1.0.3.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| gmail_label_email_processor-1.0.3-py3-none-any.whl | Python 3 | none | any | Details for gmail_label_email_processor-1.0.3-py3-none-any.whl |
Total release size: 5.1 kB
Release files / gmail-label-email-processor-1.0.3.tar.gz
| Download URL | gmail-label-email-processor-1.0.3.tar.gz |
|---|---|
| Size | 2.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
c87f906525d43302105dd1ebb2a4310045ec01b0923488d914057554b8b06bbf
|
|
BLAKE2b-256 checksum How to use checksums |
74c22caa809e29d613854cacfe3524c54675e9ce535a1ed4415e7f9721897fda
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.0.0 CPython/3.11.3
|
Release files / gmail_label_email_processor-1.0.3-py3-none-any.whl
| Download URL | gmail_label_email_processor-1.0.3-py3-none-any.whl |
|---|---|
| Size | 2.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
9906ccf4bc0e4e0346bbc3549c7c46e1c17e596e405b658a558f846f35f67e3d
|
|
BLAKE2b-256 checksum How to use checksums |
58e90521fe7fa9b6b93c63f6cdd5ed48bfd70229fc27dcd37beb190b0d2917b1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.0.0 CPython/3.11.3
|
Security for gmail-label-email-processor 1.0.3
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.