Microsoft is disabling basic auth for M365 Exchange in October, that’s likely the cause.
Please refer to the following KB which goes over the problem:
Deprecation of Basic authentication in Exchange Online | Microsoft Learn
As for next steps, you’ll probably want to configure the Microsoft 365 channel in Zammad, rather than using the “Email” channel: