django-unravel is a Django app to automatically open emails in the web browser.
pip install django-unravel
-
Add "django_unravel" to your INSTALLED_APPS setting like this:
INSTALLED_APPS = [ ..., 'django_unravel', ]
-
Set the
EMAIL_BACKEND
andEMAIL_FILE_PATH
:import tempfile ... EMAIL_BACKEND = 'django_unravel.mail.backends.filebased.EmailBackend' EMAIL_FILE_PATH = tempfile.gettempdir() ...
Screen.Recording.2024-04-06.at.16.56.48.mov
-
I've used this project for quite some time, but it hasn't been maintained. It still works, nonetheless.