mysociety / alaveteli

Provide a Freedom of Information request system for your jurisdiction
https://alaveteli.org
Other
389 stars 196 forks source link

Prevent duplicate reports generating emails #8215

Closed HelenWDTK closed 4 months ago

HelenWDTK commented 5 months ago

There is no need to send a second/third etc email to the site admin team if a user repeatedly reports a request that is already in an error/flagged state. This makes it harder to keep track of outstanding issues in need of fixing, so we should prevent this. I'm thinking about:

gbp commented 5 months ago

How about we could look at the info request events to ensure there has been a response, or followup event since the last time a report was sent.

HelenWDTK commented 5 months ago

That might work.

In some cases a bounce generates 2/3 response emails over 48/72 hours, and we get a message as each new one is classified, but those might just be too tricky to handle well.

gbp commented 5 months ago

I think the changes in #8217 will prevent this.