Hi @Renaud SALVIGNAC,
Thank you for contacting Microsoft!
Guest users do not have a mailbox within resource tenants; they only have mailboxes in their "home" tenant. This is why you are encountering the "MailboxNotEnabledForRestApi" error when trying to send emails.
Since your app is configured as a multi-tenant application, please ensure that each tenant/user consents to the required scopes
You can refer to the following documentation for more details:
https://learn.microsoft.com/en-us/entra/identity-platform/howto-convert-app-to-be-multi-tenant
For additional information, you might find these similar posts helpful:
Hope this helps.
If the answer is helpful, please click Accept Answer and kindly upvote it. If you have any further questions about this answer, please click Comment.