Skip to main content

Django Scaleway Email

A small Django package that allows you to use Scaleway's transactional email API.

Requirements

To use this backend, you need an account with Scaleway and follow their setup guide for the transactional email service.

You can then create an IAM Application and generate a new API key for it. Ensure the application has the TransactionalEmailEmailFullAccess permission.

Installation

  1. Install the package with your package manager of choice:

    pip install django-scaleway-email
    
  2. Set your EMAIL_BACKEND and configure your secrets:

    EMAIL_BACKEND = "django_scaleway_email.backend.EmailBackend"
    SCALEWAY_EMAIL_PROJECT_ID = "your-project-id"
    SCALEWAY_EMAIL_API_KEY = "your-api-key"
    
  3. Done! You can now use django.core.mail.send_mail etc. to send emails!

Django 6.1 MAILERS

Alternatively, this email backend supports Django's new MAILERS setting:

MAILERS = {
   "default": {
      "BACKEND": "django_scaleway_email.backend.EmailBackend",
      "OPTIONS": {
         "project_id": "YOUR_PROJECT_ID",
         "api_key": "YOUR_API_KEY",
         # optional:
         "region": "fr-par",
         "version": "v1alpha1",
         "api_url": "", # overwrite the full API endpoint
      },
   }
}

Limitations

Scaleway imposes a few limitations on emails. Here's a short summary:

  • Max. 10 recipients per email
  • Max. 10 attachments
  • Max. total email size is 2 MB
  • Only certain types of attachments are allowed, see ATTACHMENT_TYPES

Release files for django-scaleway-email 0.2.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for django-scaleway-email 0.2.1
File Size Uploaded
django_scaleway_email-0.2.1.tar.gz 4.7 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for django-scaleway-email 0.2.1
File Interpreter ABI Platform
django_scaleway_email-0.2.1-py3-none-any.whl Python 3 none any Details

Total release size: 9.7 kB

Release files / django_scaleway_email-0.2.1.tar.gz

Download URL django_scaleway_email-0.2.1.tar.gz
Size 4.7 kB
Tags Source
SHA-256 checksum
How to use checksums
047d644d01696a822cfd988075fa5b3597e78581dee1c19dafc22f1c26a59dc8
BLAKE2b-256 checksum
How to use checksums
f785f027b134f8e9cb33df33bbdabeb33383277bdb5c5d7a9abe167aa13b211b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 Aug 13, 2026.

Transparency log

Release files / django_scaleway_email-0.2.1-py3-none-any.whl

Download URL django_scaleway_email-0.2.1-py3-none-any.whl
Size 5.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
a29227b54f1a1454eefed53d5ab8d8c584418629094d77dd59e94d4c376c6b17
BLAKE2b-256 checksum
How to use checksums
947ca9c7c32ce89fa7217329b8ff67370854f55378c31e0953cbb54b74c96455
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 Aug 13, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

0.2.1 This release

2 release files

0.2.0

2 release files

0.1.1

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page