Think Build Implement Repeat
London, UK +44 7367 067226
WhatsApp FOLLOW f in X
Python & Django

Telling People What They Need to Know

Last updated:

Email delivery first

Django's default email backend uses whatever the server provides, which frequently means messages sent without proper authentication and discarded by recipient providers without a bounce.

The application logs a success, the user is told it was sent, and nothing arrives. It is the most expensive silent failure in business applications.

Getting delivery right

  1. Authenticated SMTP or a transactional service
  2. Send from a domain you control with correct authentication records
  3. Queue every send, so a provider outage does not break the request
  4. Log every send with its outcome
  5. Handle bounces rather than ignoring them

Notify only who must act

  • The person who has to do something next
  • Not everyone with an interest
  • Not on every state change, only the meaningful ones
  • With a clear statement of what is required
  • And a direct link to the thing

Notifying everybody about everything produces a channel people mute, at which point the important notification is missed too.

Let people control it

SettingWhy
Per notification typeDifferent people care about different things
Digest optionReduces volume without losing information
Per channelEmail, in-app, or both
Honoured immediatelyOtherwise people stop trusting it

Test the templates properly

Email rendering varies enormously between clients. Test the actual templates in the clients your users have, not just in a browser.

And check the plain text alternative, which is what some clients and most accessibility tools will use.

Frequently asked questions

Which email service should we use?

Your existing provider for low volume, a transactional service for scale and better delivery logs.

How do we know email is arriving?

Log every send, monitor bounces, and run an automated weekly test to a real inbox.

Why does our mail go to spam?

Usually missing or incorrect domain authentication records. Check those first.

Should notifications be in-app too?

For anything the user should see when they next log in, yes. Email is for things needing attention now.

Keep reading

Not certain your application's email arrives?

Send yourself one from the live system and check the headers. It is usually revealing.

Book a free 30-minute call Get a project estimate WhatsApp us

Related services

What we build for problems like this one

Custom Software DevelopmentWeb DevelopmentMachine Learning