Skip to main content

Gmail Label Manager

The gmail_label_manager module is a crucial component of the Gmail Label Email Processor toolkit, designed to interact with Gmail labels. It allows for fetching the ID of specific Gmail labels, enabling precise control and filtering of emails for processing based on label criteria.

Features

  • Retrieve the ID of a specific Gmail label.
  • Supports integration with Gmail API to manage and utilize labels for email processing tasks.

Installation

This module is part of the Gmail Label Email Processor toolkit. To use it, ensure you have Python 3.6 or higher installed.

git clone https://github.com/yourusername/gmail-label-email-processor.git
cd gmail-label-email-processor


## Prerequisites

Before using the gmail_label_manager, you must have completed the authentication setup provided by gmail_api_auth.py, including obtaining a credentials.json file from the Google Developer Console and ensuring it is placed in the project root.

## Usage

The gmail_label_manager module can be used to fetch label IDs as part of email processing workflows. Here's a simple example:

```bash
from gmail_label_manager import get_label_id_by_name

# Fetch the ID of a specific label
label_id = get_label_id_by_name("YOUR_LABEL_NAME_HERE")

if label_id:
    print(f"Label ID for 'YOUR_LABEL_NAME_HERE': {label_id}")
else:
    print("Label not found.")

Replace "YOUR_LABEL_NAME_HERE" with the actual name of the Gmail label you wish to manage.

Contributing

Contributions to the gmail_label_manager or any other component of the Gmail Label Email Processor toolkit are welcome.

License

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

Metadata

Release files for gmail-label-manager 0.1.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for gmail-label-manager 0.1.3
File Size Uploaded Provenance Actions
gmail-label-manager-0.1.3.tar.gz 2.1 kB Without provenance Details for gmail-label-manager-0.1.3.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for gmail-label-manager 0.1.3
File Interpreter ABI Platform Actions
gmail_label_manager-0.1.3-py3-none-any.whl Python 3 none any Details for gmail_label_manager-0.1.3-py3-none-any.whl

Total release size: 4.2 kB

Release files / gmail-label-manager-0.1.3.tar.gz

Download URL gmail-label-manager-0.1.3.tar.gz
Size 2.1 kB
Tags Source
SHA-256 checksum
How to use checksums
a477fa0b27a48fefa00c36a906c3b96a87787b4be6431f9d1bc5810d1426244e
BLAKE2b-256 checksum
How to use checksums
9e0ff456cff480dc77d149dab809ae04b5e83bbd9196ce953f7562d22b2f16cc
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_manager-0.1.3-py3-none-any.whl

Download URL gmail_label_manager-0.1.3-py3-none-any.whl
Size 2.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
553f3564c7ad8926308f750d967db05ff4cf90c45aa109ee7a434fe417b5cebc
BLAKE2b-256 checksum
How to use checksums
3cb99ce2f4c348e33832cdde83f2250dfcb30e171f7b4846677c410370d49ae9
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-manager 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.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page