This app provides an email backend for Django that will re-route all emails to a safe email address provided by your project's settings.py. This uses the SMTP email backend to actually send the email.
This makes it so you can use any email address you like during testing, without worrying about spamming people. The original To:, CC:, BCC: and From: will be attached.
Specific email addresses, domains, etc. that will bypass the safe email routing can be added via a regex-based safelist.
To use this, put these in your settings.py:
EMAIL_BACKEND='saferecipient.EmailBackend'
SAFE_EMAIL_RECIPIENT='your email address, or a team testing address'
# Optional
SAFE_EMAIL_SAFELIST = []