Trouble with notifications in 2.2.0.cre

Same issue here on debian 11 after upgrading our staging setup from 2.1.0p28. Interesting that no one else seems to face that problem? Commenting the part out fixes it halfway, like you said, but creates a mail flood instead. So any help appreciated, i also sent a report to feedback-2.2-beta@checkmk.com