Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a task_done table and record every email sent in it #9291

Open
seanh opened this issue Jan 28, 2025 · 0 comments
Open

Add a task_done table and record every email sent in it #9291

seanh opened this issue Jan 28, 2025 · 0 comments
Assignees

Comments

@seanh
Copy link
Contributor

seanh commented Jan 28, 2025

This should be similar to what LMS has, see lms/models/task_done.py.

task_done in h is not needed to avoid sending duplicate emails: the email-sending code does not need to check for the presence of a duplicate row in the task_done table before sending an email.

The task_done table will be useful as one way to monitor email-sending (enabling sent emails to be queried in Metabase) and will be used in future to implement rate-limits on emails by sender and by recipient.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants