Visual email builder for Django admin, powered by MailCraft
Project description
django-contentor-email-builder
A visual email builder for Django admin, powered by MailCraft.
Add a drag-and-drop email builder to your Django admin with one pip install. Select users, compose beautiful emails, and send — all from the admin panel.
Quick Start
- Install:
pip install django-contentor-email-builder
- Add to
INSTALLED_APPS:
INSTALLED_APPS = [
...
'django_email_builder',
]
- Configure your API key:
EMAIL_BUILDER_API_KEY = 'mc_live_your_key_here'
- Done! Go to Django admin → Users → select users → "Send email with Email Builder".
Settings
| Setting | Required | Default | Description |
|---|---|---|---|
EMAIL_BUILDER_API_KEY |
Yes | — | Your MailCraft API key |
EMAIL_BUILDER_VARIABLES |
No | {} |
Map template variables to User attributes |
EMAIL_BUILDER_URL |
No | https://mailcraft.contentor.app |
Builder URL |
Variable Mapping
Map template variables to Django User model attributes:
EMAIL_BUILDER_VARIABLES = {
'first_name': 'first_name',
'last_name': 'last_name',
'email': 'email',
# Supports dotted paths for related objects:
'company': 'profile.company_name',
}
Variables are automatically synced to MailCraft on Django startup and become available in the email builder's variable picker.
How It Works
- Select users in Django admin's User list
- Pick "Send email with Email Builder" from the actions dropdown
- Compose your email in the visual builder (or load a saved template)
- Click "Send" → review recipients and enter subject line → confirm
- Each email is personalized with the user's variables and sent via Django's email backend
Billing
Each personalized email render counts against your MailCraft plan's render quota. Sending to 100 users = 100 renders.
Requirements
- Django >= 4.2
- A MailCraft account (sign up)
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_contentor_email_builder-0.2.2.tar.gz.
File metadata
- Download URL: django_contentor_email_builder-0.2.2.tar.gz
- Upload date:
- Size: 12.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f88c056b549df8bc5a863d1449d5b036c5a18f6f93067a2301cb9ae6b113a778
|
|
| MD5 |
2b6732545e71b56297a833c9dedfbeff
|
|
| BLAKE2b-256 |
a4622449831c46fe3293ce92e2a7c6c45bfc9a9c933788f80a3cb1d33ff705bb
|
File details
Details for the file django_contentor_email_builder-0.2.2-py3-none-any.whl.
File metadata
- Download URL: django_contentor_email_builder-0.2.2-py3-none-any.whl
- Upload date:
- Size: 13.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
adcabab545c92488f3fc2bf1de862adbd9b70d6a7328e3a66c2110cac68172a6
|
|
| MD5 |
e35d72b5f4d2d4d607de422ad6749389
|
|
| BLAKE2b-256 |
341288a376f1f93494fbbace752920bba8cd8fe56f3597858d44bac93da06b21
|