Hello!
In my powerapps, I use this code to allow users to send an email :
Office365Outlook.SendEmailV2(varStringEnvoyerCourrielA; "A task for you";"Hello world!";
{From:"xxx@yyy.zzz";Cc:CurrentUser.Email;Importance:"Normal"}
You may notice I use from because I want the email to be sent from a generic "customer service" email. Not all users have access to this mailbox (neither do I). But I added a data connector inside the app to the mailbox that HAS access to this generic mailbox.
During my phase tests, everything looked great : I was able to send email on behalf of a mailbox I cannot access otherwise (I can't access it in Outlook). Now I deployed it and it works for some users including myself but not for many other users and they get this error :

I don't understand why it works for me and it doesn't for others. Here is a screenshot of the mailbox I added in the app (the user had to enter his password to make this work) :

I can make it work with a powerautomate that is triggered when the Sharepoint list changes BUT it takes 4 minutes for the whole process to work for reasons I didn't grasp yet while the script within Power Apps does it instantly (except the first time of the day that takes 2 minutes for unknown reasons). I get much faster results with the script when it runs within PowerApps than when it runs from Power Automate. For this reasons, I would rather make it work in PowerApps.
Can someone bring me light on this issue?