New complaints model to persist complaints from SES.

If a someone gets an email from one of our services and then complain about it (mark as spam or otherwise), we get a callback from SES.
The service needs to know about these complaints so they can remove that email from their mailing list.
This commit is contained in:
Rebecca Law
2018-05-31 14:43:49 +01:00
parent 23e6b57c26
commit 1faba916b2
4 changed files with 52 additions and 0 deletions

View File

@@ -235,6 +235,7 @@ class ServiceSchema(BaseSchema):
'monthly_billing',
'reply_to_email_addresses',
'letter_contacts',
'complaints',
)
strict = True