Skip to main content

Django mails. Supercharged.

Project description

📨 Django mails. Supercharged.

PyPI - Version Test Status

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

  1. Add django_nitro_mailer to your INSTALLED_APPS in your settings.py:
INSTALLED_APPS = [
    ...
    "django_nitro_mailer",
    ...
]
  1. Run python manage.py migrate to create the necessary tables.

  2. Change the EMAIL_BACKEND setting in your settings.py to 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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

django_nitro_mailer-0.2.0.tar.gz (15.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

django_nitro_mailer-0.2.0-py3-none-any.whl (17.4 kB view details)

Uploaded Python 3

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

Hashes for django_nitro_mailer-0.2.0.tar.gz
Algorithm Hash digest
SHA256 bd381f83b32b9e4487d046434c543296bbcf1398317deeecb6d4316e0f660fa8
MD5 5ce1193323166d647e5f043fcc19c5d5
BLAKE2b-256 7cbec72300a3e8a52589a6ec1ace62e1ccac16e1753b5602161d3bf52d11ef82

See more details on using hashes here.

Provenance

The following attestation bundles were made for django_nitro_mailer-0.2.0.tar.gz:

Publisher: pypi.yml on majikode/django-nitro-mailer

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file django_nitro_mailer-0.2.0-py3-none-any.whl.

File metadata

File hashes

Hashes for django_nitro_mailer-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 b85ab318a665184e99b4ee7a2b9664b952f2cb3038b5d068f88ab51303bfc519
MD5 845c35759e12ab8f41b3f4bb8b458cc6
BLAKE2b-256 9aa189b9d3ba8479148134b23d8a2af7e5df691f3e75d78eb7f13435d35cd353

See more details on using hashes here.

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

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page