Notify commenters of closed project

I’ve assigned a project to someone. on that project comment, a ton of comments/mentions are done. I wanted to notify all(those who commented/mentioned) when I close the project/ doctype

Are there any possibilities to do that? with custom script/ server script or frappe or something like that?