platzky-sendmail
Platzky plugin for sending emails with optional file attachments.
Installation
pip install platzky-sendmail
Activation
Add the plugin to the plugins list in your Platzky database configuration.
The name must match the entry-point key declared in pyproject.toml:
{
"plugins": [
{
"name": "sendmail",
"config": {
"sender_email": "sender@example.com",
"password": "MY-SECRET-PASSWORD",
"smtp_server": "smtp.example.com",
"port": 465,
"receiver_email": "receiver@example.com",
"subject": "Default email subject"
}
}
]
}
Port 465 uses implicit SSL (SMTP_SSL); any other port uses explicit TLS via
STARTTLS.
Development
This plugin extends NotifierPluginBase.
It declares the notification topics it accepts via accepted_topics and
implements notify(self, notification) to deliver the message — and any
attachments — over SMTP. Total attachment size is capped at 25 MB
(DEFAULT_MAX_TOTAL_ATTACHMENT_SIZE), raising AttachmentSizeError if exceeded.
poetry install # Install dependencies
make lint # Auto-format and fix (black + ruff --fix)
make lint-check # Check formatting/linting + types + docstrings (CI)
make dev # Lint + type check (pyright)
make unit-tests # Run all tests
make coverage # Tests with coverage
make build # Build wheel/sdist
Release files for platzky-sendmail 0.3.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| platzky_sendmail-0.3.0.tar.gz | 4.6 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| platzky_sendmail-0.3.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 10.3 kB
Release files / platzky_sendmail-0.3.0.tar.gz
| Download URL | platzky_sendmail-0.3.0.tar.gz |
|---|---|
| Size | 4.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
a96bb35e3e22772353aa7bf85e7bb9ba237876f9cc1fcec30e2beb02ffa195c5
|
|
BLAKE2b-256 checksum How to use checksums |
3f966b99dc23cd0dbdd9f7019afc39d01a95660071bb252ef9248f5ba593c964
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jun 24, 2026.
Transparency logRelease files / platzky_sendmail-0.3.0-py3-none-any.whl
| Download URL | platzky_sendmail-0.3.0-py3-none-any.whl |
|---|---|
| Size | 5.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
f38345cdc9a3949b0c34de00845a1099152e1b9e3a69f19a8427000b52713859
|
|
BLAKE2b-256 checksum How to use checksums |
3dd57706324c6b781bbfbc4d8989afda112edaba0166216ddf8f24bcc6cc5c78
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jun 24, 2026.
Transparency log