A Python library for Email Automation. FluxMail allows you to create and send emails using either SMTP or Outlook. It supports both Windows and Linux platforms (with Outlook available only on Windows)
Project description
📋 Table of Contents
📣 Overview
A Python library for email automation supporting SMTP and Outlook protocols. Send emails
via CLI or Python API. Outlook support is Windows-only (requires pywin32).
📌 Quick Start
Installation
pip install fluxmail
pip install --upgrade fluxmail # upgrade
CLI
export FLUXMAIL_USERNAME=me@gmail.com
export FLUXMAIL_PASSWORD=secret
fluxmail --type smtp --host smtp.gmail.com --port 587 --tls \
--subject "Hello" \
--recipients friend@example.com \
--body "Hi from the CLI!"
Python API
from fluxmail import FluxMail
FluxMail(
object_type="smtp",
host="smtp.gmail.com",
port=587,
use_tls=True,
username="me@gmail.com",
password="secret",
).create(
subject="Hello",
recipients=["friend@example.com"],
body="Hi there!",
).send()
Full documentation: 👉 vertex-ai-automations.github.io/fluxmail
⚙️ Configuration
Pass credentials via environment variables so they never appear in shell history:
export FLUXMAIL_USERNAME=me@gmail.com
export FLUXMAIL_PASSWORD=secret
Works with any SMTP provider — Gmail, SendGrid, Amazon SES, Mailgun, Office 365, or a self-hosted relay.
See Configuration for provider-specific settings.
👪 Contributing
All contributions are welcome! Fork the repo, make your changes, and open a pull request.
You can also open an issue with the label enhancement.
Don't forget to ⭐ star the project!
📃 Full Docs · 🔧 Report a Bug · ⛪ Vertex AI Automations
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 fluxmail-0.3.0.tar.gz.
File metadata
- Download URL: fluxmail-0.3.0.tar.gz
- Upload date:
- Size: 311.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.15
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
25b302c2e451c7889883100e317b56423c088838397b2144a3d4ac5c8c602dca
|
|
| MD5 |
87a703a5ebb2aec4db75cd609f6f0f47
|
|
| BLAKE2b-256 |
5009491423e2f7f82b02ba61d331b658d338af15e6e34cc9540634674ea06b64
|
File details
Details for the file fluxmail-0.3.0-py3-none-any.whl.
File metadata
- Download URL: fluxmail-0.3.0-py3-none-any.whl
- Upload date:
- Size: 19.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.15
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7efe785f23c22eff975fb2be33207038086e8c316ae8493dab60b845bbc7efb2
|
|
| MD5 |
52ba7304b26c78feb43e2c812b3bd56a
|
|
| BLAKE2b-256 |
a3e1a36b0dcf0642b7049000c074b4957f8d201d060b01f309c45bfef986fe7d
|