I think it’s pretty easy to write a law that doesn’t include email and sms. They have no engagement algorithms.
Forums require a little more finesse - but a good starting point is distinguishing upvotes from personalized engagement-based algorithms.
Basically I don’t buy that your concern is a problem in practice.
Edited to add - here is the guidance for Australia’s law for reference: https://www.esafety.gov.au/about-us/industry-regulation/soci...