I went ahead to do some testing and tried to create the email sending with the Flow.
I set up my Flow to activate when the new item is added to SharePoint site. Whenever I try to run the flow I still get the same User account does not exist. I asked around my colleagues about our email system. We are using Sherweb service, would that be the issue as we are not using Exchange? If so, are there any work arounds?
Also I tried to set up email with using simple Mail datasource from PowerApps. I tested it our by writing
Mail.SendEmail(Label1.Text,"TEST",HtmlText3.HtmlText,{ishtml:true})However I get the following error:
The service returned an error: Mail!SendEmail: The method 'SendEmail' has an invalid value for parameter 'to'
But the email in Label1.Text is correct.
When I did this:
Mail.SendEmail("myemail@company.com","TEST","TEST")I did recieve the email. But that does not allow me to dynamically change the email or the body of the email.