Send email for password reset to all email addresses of the user

Nextcloud version: 27.1.3
Operating system and version: Debian 12.2
Apache or nginx version: Apache 2.4.57
PHP version: 8.2.7

I’m using LDAP for authentication and also for the mails app (I use LDAP for IMAP and SMTP authentication too). I want my users to be able to open Nextcloud for the first time and use the mails app without having to configure anything.

This works like a charm but the problem is that if they really forget their password it’s at least possible that they can’t receive the email with the link to reset their password (because their default email address is the one which uses the same password – and maybe they never used another mail client where the password would be saved).

So I thought I’d tell my users to simply add another email address in the beginning. But it seems the email for resetting the password is only going out to the primary email address…

So my question is: Is it possible to send this email to all email addresses of the user?

Thanks,
Stefan.