Anymail
Django email backends and webhooks for Amazon SES, Mailgun, Mailjet
...It extends the standard django.core.mail with many common ESP-added features, providing a consistent API that avoids locking your code to one specific ESP (and making it easier to change ESPs later if needed). Integration of each ESP’s sending APIs into Django’s built-in email package, including support for HTML, attachments, extra headers, and other standard email features. Extensions to expose common ESP-added functionality, like tags, metadata, and tracking, with code that’s portable between ESPs. Inbound message support, to receive email through your ESP’s webhooks, with simplified, portable access to attachments and other inbound content. ...