ui / django-post_office

A Django app that allows you to send email asynchronously in Django. Supports HTML email, database backed templates and logging.
MIT License
1k stars 270 forks source link

Suggestion: Minimal support for implementing retention policies #450

Open m000 opened 1 year ago

m000 commented 1 year ago

Hello, we've been using Post Office for a while now. For some of the emails we send, we need to implement a retention policy, so that we don't collect addresses of customers for longer than it is needed.

Is there a recommended way to implement this with the current codebase?

Some thoughts we had on how to implement this:

Any thoughts on how we should proceed or other approaches that we haven't considered are welcome.

selwin commented 1 year ago

Hi, I think some kind of retention policies would be a great addition. For starters, I like the idea of adding retain_until DateField. Would accept a PR for this.