CLI tool for managing Rackspace hosted mailboxes
Project description
📨 rackmail
rackmail is a Python-based CLI tool for managing and interacting with Rackspace Hosted Mailboxes. Built with simplicity and flexibility in mind, it streamlines common admin-related tasks from your terminal—perfect for sysadmins, devs, and automation pros.
🚀 Features
- 📤 Interact with emails
- 📜 Get info about emails
- ⚙️ Easy setup with just 3 ENV Variables.
- 🔌 Integrates cleanly into scripts and cron jobs
📦 Installation
pip install rackmail
Or install from source:
git clone https://github.com/yourusername/rackmail.git
cd rackmail
pip install -e .
🛠 Usage
rackmail --help
Common Commands
rackmail enableuser -e user.name -d domain.com #Enables a users mailbox
rackmail disableuser -e user.name -d domain.com #Disables a users mailbox
⚙️ Configuration
You will need information from your Rackspace Hosted Email tenant to fully setup this tool. Since this tool uses the Rackspace API, you can find most of this information in the API Key's section of Rackspace's Admin console.
User KeyCustomer IDX-Api-Signature Header
To get the correct X-API-Signature Header. Please use rackmailcli as the useragent header.
After you get the three items listed above, you need to setup the environment on your machine. Please use the following key value pairs in your environment. Replacing the values of each with the values you got from Rackspace's admin console.
RACKSPACE_API_KEY = User KeyRACKSPACE_CUSTOMER_ID = Customer IDRACKSPACE_API_HEADER = X-Api-Signature Header
🔧 Development
To Setup the code base.
git clone https://github.com/lilrebel17/rackmail.git
cd src
pip install -r requirements.txt
To install the project as a package for testing.
cd rackmail #Projects root directory
pip install . #Installs the project as a pip package.
To build a distributable
cd rackmail #Projects root directory
python -m build
🤝 Contributing
Issues and PRs welcome. Just follow the standard Python etiquette and maybe don’t name your test email “bombthis@company.com” (again).
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file rackmail-0.6.0.tar.gz.
File metadata
- Download URL: rackmail-0.6.0.tar.gz
- Upload date:
- Size: 9.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a7147a5fcff5444eabc5bbe42ac59d580615a5fe6db2b970e17addfdadc19ac8
|
|
| MD5 |
6c00e22cb72a92ee306344dc92fdb43f
|
|
| BLAKE2b-256 |
dd2e8eaecaa5af13c6544e6c618dd5af2def4ccbd3a95cd457a460a06ba5ca33
|
Provenance
The following attestation bundles were made for rackmail-0.6.0.tar.gz:
Publisher:
pypi_push.yml on lilrebel17/rackmail
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
rackmail-0.6.0.tar.gz -
Subject digest:
a7147a5fcff5444eabc5bbe42ac59d580615a5fe6db2b970e17addfdadc19ac8 - Sigstore transparency entry: 872220300
- Sigstore integration time:
-
Permalink:
lilrebel17/rackmail@3518ffeebd42dc7517e982b4d960574102323c71 -
Branch / Tag:
refs/tags/v0.6.0 - Owner: https://github.com/lilrebel17
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
pypi_push.yml@3518ffeebd42dc7517e982b4d960574102323c71 -
Trigger Event:
release
-
Statement type:
File details
Details for the file rackmail-0.6.0-py3-none-any.whl.
File metadata
- Download URL: rackmail-0.6.0-py3-none-any.whl
- Upload date:
- Size: 13.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
620c09f5634360ad0f684104cd3ed0d051a30e6abc25bf74532cb7b855b454a2
|
|
| MD5 |
62a2df79d6d79ca71d7b5944209281c5
|
|
| BLAKE2b-256 |
7e6554513e5f677d1e8549ca4846356b57147cb135c16cfdb4fdc9bce40eb791
|
Provenance
The following attestation bundles were made for rackmail-0.6.0-py3-none-any.whl:
Publisher:
pypi_push.yml on lilrebel17/rackmail
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
rackmail-0.6.0-py3-none-any.whl -
Subject digest:
620c09f5634360ad0f684104cd3ed0d051a30e6abc25bf74532cb7b855b454a2 - Sigstore transparency entry: 872220303
- Sigstore integration time:
-
Permalink:
lilrebel17/rackmail@3518ffeebd42dc7517e982b4d960574102323c71 -
Branch / Tag:
refs/tags/v0.6.0 - Owner: https://github.com/lilrebel17
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
pypi_push.yml@3518ffeebd42dc7517e982b4d960574102323c71 -
Trigger Event:
release
-
Statement type: