oncall-engine/engine/apps/email
Vadim Stepanov 10dc454c7b
Inbound email improvements (#5259)
# What this PR does

* Allows to use multiple inbound email ESPs at the same time by setting
the `INBOUND_EMAIL_ESP` env variable to `amazon_ses,mailgun` for example
* Adds a new ESP `amazon_ses_validated` that performs SNS message
vaildation (`django-anymail` doesn't implement it:
[comment](35383c7140/anymail/webhooks/amazon_ses.py (L107-L108)))

## Which issue(s) this PR closes

Related to https://github.com/grafana/oncall-private/issues/2905

<!--
*Note*: If you want the issue to be auto-closed once the PR is merged,
change "Related to" to "Closes" in the line above.
If you have more than one GitHub issue that this PR closes, be sure to
preface
each issue link with a [closing
keyword](https://docs.github.com/en/get-started/writing-on-github/working-with-advanced-formatting/using-keywords-in-issues-and-pull-requests#linking-a-pull-request-to-an-issue).
This ensures that the issue(s) are auto-closed once the PR has been
merged.
-->

## Checklist

- [x] Unit, integration, and e2e (if applicable) tests updated
- [x] Documentation added (or `pr:no public docs` PR label added if not
required)
- [x] Added the relevant release notes label (see labels prefixed w/
`release:`). These labels dictate how your PR will
    show up in the autogenerated release notes.
2024-11-18 09:44:32 +00:00
..
migrations Change email message on_delete to not block organization delete (#2060) 2023-05-31 13:44:55 +00:00
templates Change email templating to not wrap user defined templates (#3862) 2024-02-09 19:03:25 +00:00
tests Inbound email improvements (#5259) 2024-11-18 09:44:32 +00:00
__init__.py Restore email notifications (#621) 2022-10-19 12:32:56 +01:00
alert_rendering.py Change email templating to not wrap user defined templates (#3862) 2024-02-09 19:03:25 +00:00
backend.py patch default user notification policy changes + fix failing e2e test (#4635) 2024-07-09 11:23:53 -04:00
inbound.py Inbound email improvements (#5259) 2024-11-18 09:44:32 +00:00
models.py Fix retrying email notification task (#4772) 2024-08-01 14:48:39 +00:00
tasks.py Make cloud email domain configurable (#4982) 2024-09-04 14:46:52 +00:00
validate_amazon_sns_message.py Inbound email improvements (#5259) 2024-11-18 09:44:32 +00:00