How to deactive account of those users who're not receiving emails

I’m pretty sure that it got don’t have VERP configured then there is no way for Discourse to knit who has invalid addresses (or it would stop sending mail on its own).

If you know some way to find those users you can do user.valid=true;user.save, i think