Skip to main content

django-developmentEmailDashboard

A django email backend that saves the emails to database instead of sending them and can view the emails in a web-browser

⚠️ disclaimer: do not use this in production or on any public server. this app hardly has any security protocols inplace since this is meant to be used in development and values ease of use over security. for example there is no password required to view a users inbox or to create a new one or for anything else.

Installation

  1. prerequisites

    • must have static files configured
    • optional to get windows notifications install zroya pip install zroya
  2. run pip install django-developmentEmailDashboard

  3. Add 'developmentEmailDashboard' to your INSTALLED_APPS setting.

  4. Add urls (only add the urls file that you plan on using)

    from django.conf import settings

    ...

    if settings.DEBUG: urlpatterns.append(path('emails/', include('developmentEmailDashboard.urls')))

  5. set the email backend in settings.py

    if DEBUG: EMAIL_BACKEND = 'developmentEmailDashboard.emailbackend.developmentEmailBackend'

  6. Run the command manage.py migrate.

now every time you send an email it will show up on your website at http://localhost:8000/emails/

there is no validation on the emails that get created in the dashboard. for example you can create a inbox test or @@@ and it will work this is done for convenience if users want this functionality to be changed that can be done

configuration

get notified when you receive an email

in settings.py setDEVELOPMENT_EMAIL_DASHBOARD_SEND_EMAIL_NOTIFICATION = True to get a windows notification every time an email is received

must have zroya installed | pip install zroya

changelog

2.0.0

added windows notifications

fixed bug where text based emails don't display new lines properly

fixed bug where deleting inbox creates does not exist error

2.0.1

fixed bug where when zroya init fails to send email notification it raises 500 error now ignores it

2.0.2

when zroya init fails to load still tries to send notification

still left to do

  • amazing documentation
  • 100% testing coverage
  • fix icons displaying centered
  • render emails as they will be displayed in a email application not just html
  • option to show raw email with headers
  • add email attachments
  • allow browser to send html emails not just view emails with html sent by websites
  • management command to delete database tables, clear tables, create tables again

Any contribution is welcome just make a pull request, and I will try to add your feature in the next version as soon as possible.

Metadata

Release files for django-developmentEmailDashboard 2.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-developmentEmailDashboard 2.0.2
File Size Uploaded
django-developmentEmailDashboard-2.0.2.tar.gz 917.9 kB Details

Release files / django-developmentEmailDashboard-2.0.2.tar.gz

Download URL django-developmentEmailDashboard-2.0.2.tar.gz
Size 917.9 kB
Tags Source
SHA-256 checksum
How to use checksums
09c6ccc95bbe0cf61915f979a69e460f50fc4eb159305a4a9910f21286523566
BLAKE2b-256 checksum
How to use checksums
67ba4f9d29bfee56fec356b95906589ca620d7a3017e182ceaefd1919f581522
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.7.1 importlib_metadata/4.9.0 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.10.0

Release history Release notifications | RSS feed

This release

2.0.2 This release

1 release file

2.0.1

1 release file

2.0.0

1 release file

1.0.0

2 release files

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