Skip to main content

ZenMailbox provides functionality to sync inbox with Django admin, thread messages, and reply in threads.

Installation

  1. Install package using pip:

    pip install django-zenmailbox

In order to use ckeditor in html text fields add use this command instead:

pip install django-zenmailbox[ckeditor]

Quick start

  1. Add “zenmailbox” to your INSTALLED_APPS:

    INSTALLED_APPS = [
        ...
        'zenmailbox',
        'ckeditor' # if you installed package with ckeditor extra requirement
    ]
  2. Run python manage.py migrate to create mail models.

  3. Start the development server and visit http://127.0.0.1:8000/admin/zenmailbox/mailbox/ to create mailbox.

  4. Choose created mailbox then use action Fetch mail. It can take a while.

  5. Setup zenmailbox.mailbox_manager.fetch_new_mail calling periodically (celerybeat, cron etc)

Settings

To change reply template place it under zenmailbox/reply.html

Django settings entries:

ZENMAILBOX_ATTACHMENTS_FOLDER = os.path.join(BASE_DIR, 'attachments')
ZENMAILBOX_ATTACHMENT_PATH_FORMAT = '{mailbox.id}/{folder.id}/{mail.id}/{attachment.filename}'
ZENMAILBOX_CKEDITOR_SETTINGS = "default"

Release files for django-zenmailbox 0.0.2

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-zenmailbox 0.0.2
File Size Uploaded
django-zenmailbox-0.0.2.tar.gz 11.8 kB Details

Release files / django-zenmailbox-0.0.2.tar.gz

Download URL django-zenmailbox-0.0.2.tar.gz
Size 11.8 kB
Tags Source
SHA-256 checksum
How to use checksums
8c3ae89d93abaf0b8a37ab3981c57e651a5aac5ed3250b3f00e34a6f2a306213
BLAKE2b-256 checksum
How to use checksums
4efe624bf7fc169d4792c8e5428f8a7717e5050595e2f2838e0dd73ab9abf536
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.7.8

Release history Release notifications | RSS feed

This release

0.0.2 This release

1 release file

0.0.1

1 release file

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