Django mails. Supercharged.
Project description
📨 Django mails. Supercharged.
Overview
django-nitro-mailer is a pluggable Django app that provides extra email reliability and observability in form of email backends that can be used with Django's built-in functions and other email backend.
django-nitro-mailer by itself does not provide a way to send emails, but it puts an extra layer before the email backend to provide extra features like:
- priority queueing
- retrying failed emails
- logging and traces
- email throttling
- sending messages through the admin panel
Requirements
- Python >= 3.12, < 3.14
- Django >= 5.2, <= 6.0
Installation
Install the package using pip:
$ pip install django-nitro-mailer
Usage
- Add
django_nitro_mailerto yourINSTALLED_APPSin yoursettings.py:
INSTALLED_APPS = [
...
"django_nitro_mailer",
...
]
-
Run
python manage.py migrateto create the necessary tables. -
Change the
EMAIL_BACKENDsetting in yoursettings.pyto use the desired backend:
- Database Backend: Store emails in the database and send them asynchronously. Requires sending a cron job or some other scheduled task to send the emails.
EMAIL_BACKEND = "django_nitro_mailer.backends.DatabaseBackend"
- Sync Backend: Send emails synchronously. Does not provide the reliability that the database backend provides, but still provides the logging and throttling features.
EMAIL_BACKEND = "django_nitro_mailer.backends.SyncBackend"
Documentation
Documentation is available here.
License
django-nitro-mailer is under the terms of the MIT License, following all clarifications stated in the license file.
Project details
Release history Release notifications | RSS feed
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 django_nitro_mailer-0.2.0.tar.gz.
File metadata
- Download URL: django_nitro_mailer-0.2.0.tar.gz
- Upload date:
- Size: 15.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
bd381f83b32b9e4487d046434c543296bbcf1398317deeecb6d4316e0f660fa8
|
|
| MD5 |
5ce1193323166d647e5f043fcc19c5d5
|
|
| BLAKE2b-256 |
7cbec72300a3e8a52589a6ec1ace62e1ccac16e1753b5602161d3bf52d11ef82
|
Provenance
The following attestation bundles were made for django_nitro_mailer-0.2.0.tar.gz:
Publisher:
pypi.yml on majikode/django-nitro-mailer
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
django_nitro_mailer-0.2.0.tar.gz -
Subject digest:
bd381f83b32b9e4487d046434c543296bbcf1398317deeecb6d4316e0f660fa8 - Sigstore transparency entry: 741042357
- Sigstore integration time:
-
Permalink:
majikode/django-nitro-mailer@539928fa789025622e35784d547ce148b74bf546 -
Branch / Tag:
refs/tags/v0.2.0 - Owner: https://github.com/majikode
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
pypi.yml@539928fa789025622e35784d547ce148b74bf546 -
Trigger Event:
push
-
Statement type:
File details
Details for the file django_nitro_mailer-0.2.0-py3-none-any.whl.
File metadata
- Download URL: django_nitro_mailer-0.2.0-py3-none-any.whl
- Upload date:
- Size: 17.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 |
b85ab318a665184e99b4ee7a2b9664b952f2cb3038b5d068f88ab51303bfc519
|
|
| MD5 |
845c35759e12ab8f41b3f4bb8b458cc6
|
|
| BLAKE2b-256 |
9aa189b9d3ba8479148134b23d8a2af7e5df691f3e75d78eb7f13435d35cd353
|
Provenance
The following attestation bundles were made for django_nitro_mailer-0.2.0-py3-none-any.whl:
Publisher:
pypi.yml on majikode/django-nitro-mailer
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
django_nitro_mailer-0.2.0-py3-none-any.whl -
Subject digest:
b85ab318a665184e99b4ee7a2b9664b952f2cb3038b5d068f88ab51303bfc519 - Sigstore transparency entry: 741042391
- Sigstore integration time:
-
Permalink:
majikode/django-nitro-mailer@539928fa789025622e35784d547ce148b74bf546 -
Branch / Tag:
refs/tags/v0.2.0 - Owner: https://github.com/majikode
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
pypi.yml@539928fa789025622e35784d547ce148b74bf546 -
Trigger Event:
push
-
Statement type: