Skip to main content

A Django app to sync inbox with Django admin

Project description

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

Quick start

  1. Add “zenmailbox” to your INSTALLED_APPS:

    INSTALLED_APPS = [
        ...
        'zenmailbox',
    ]
  2. Run python manage.py migrate to create mail models.

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

  4. Call zenmailbox.mailbox_manager.fetch_all_mail. It can take a while.

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

Settings

Django settings entries:

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

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-zenmailbox-0.0.1.tar.gz (10.3 kB view details)

Uploaded Source

File details

Details for the file django-zenmailbox-0.0.1.tar.gz.

File metadata

  • Download URL: django-zenmailbox-0.0.1.tar.gz
  • Upload date:
  • Size: 10.3 kB
  • Tags: Source
  • Uploaded using 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

File hashes

Hashes for django-zenmailbox-0.0.1.tar.gz
Algorithm Hash digest
SHA256 f354b685a66fe60caf8e1aba36ad977ac8e6aad25aa18e4008e4950001586516
MD5 9234e88ae3dbc91f89edd9c75af97c0f
BLAKE2b-256 4893b7798b2c03b0509d3fb3bd9bd26e05156d4aa6c1b50d1f18795cf0f9d106

See more details on using hashes here.

Supported by

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