Gmail Message Processor
The gmail_message_processor module is an essential part of the Gmail Label Email Processor toolkit, designed to fetch and process emails from Gmail based on specified labels. It leverages the Gmail API to retrieve email messages, enabling users to filter, extract, and process email data efficiently.
Features
- Fetch emails from Gmail by label.
- Process email messages to extract specific data such as 'To', 'Cc', 'Bcc', and email content.
- Seamlessly integrates with the Gmail API Authentication and Label Management modules for comprehensive email handling.
Installation
Make sure you have Python 3.6 or higher installed. This module is a component of the Gmail Label Email Processor toolkit.
Proceed to install the necessary dependencies for the project.
Prerequisites
Before utilizing the gmail_message_processor, ensure that you have completed the authentication setup with gmail_api_auth.py and have identified the specific Gmail labels of interest using gmail_label_manager.py.
Usage
The gmail_message_processor module is designed to be used in conjunction with other components of the toolkit. Here's a basic usage example:
from gmail_message_processor import fetch_emails_by_label
# Specify the label name you're interested in
label_name = "YOUR_LABEL_NAME_HERE"
# Fetch and process emails by the specified label
processed_emails = fetch_emails_by_label(label_name)
# Continue with further processing or exporting
Replace "YOUR_LABEL_NAME_HERE" with the actual label you wish to process.
Contributing
Contributions to enhance the gmail_message_processor or any aspect of the Gmail Label Email Processor toolkit are highly appreciated.
License
This project is licensed under the MIT License - see the LICENSE for details.
Metadata
Release files for gmail-message-processor 0.1.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-message-processor-0.1.3.tar.gz | 2.2 kB | Without provenance | Details for gmail-message-processor-0.1.3.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| gmail_message_processor-0.1.3-py3-none-any.whl | Python 3 | none | any | Details for gmail_message_processor-0.1.3-py3-none-any.whl |
Total release size: 4.3 kB
Release files / gmail-message-processor-0.1.3.tar.gz
| Download URL | gmail-message-processor-0.1.3.tar.gz |
|---|---|
| Size | 2.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
1324029a84efc34c17cf9b64bf6163fde0831e2f370a562eb34958f473db59ce
|
|
BLAKE2b-256 checksum How to use checksums |
db6fc5d785fef2c32b6a4539af19d4fd73cc93bd9369e2ca6a0f279d5d6a8362
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.0.0 CPython/3.11.3
|
Release files / gmail_message_processor-0.1.3-py3-none-any.whl
| Download URL | gmail_message_processor-0.1.3-py3-none-any.whl |
|---|---|
| Size | 2.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
e938d23beaa2785c7683430b1f7a747f0d595f925204269075346389d0eca6f2
|
|
BLAKE2b-256 checksum How to use checksums |
ce22f00d9020b0d82ab48d45d9c1a337be8779a6049d535f30d665fbc8fd586f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.0.0 CPython/3.11.3
|
Security for gmail-message-processor 0.1.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.