Skip to content

yujinyuz/django-unravel

Repository files navigation

django-unravel

django-unravel is a Django app to automatically open emails in the web browser.

Installation

pip install django-unravel

Quick start

  1. Add "django_unravel" to your INSTALLED_APPS setting like this:

    INSTALLED_APPS = [
        ...,
        'django_unravel',
    ]
  2. Set the EMAIL_BACKEND and EMAIL_FILE_PATH:

    import tempfile
    ...
    EMAIL_BACKEND = 'django_unravel.mail.backends.filebased.EmailBackend'
    EMAIL_FILE_PATH = tempfile.gettempdir()
    ...

Demo

Screen.Recording.2024-04-06.at.16.56.48.mov

Acknowledgements

  • django-naomi

    I've used this project for quite some time, but it hasn't been maintained. It still works, nonetheless.

    I have applied changes from the following PRs: #3 and #5