If you are trying to send an email to users of a SharePoint site, there is no "out of the box" way of achieving that goal. With an HTTP call to SharePoint, you could retrieve members of SharePoint groups and send them emails.
Many people would suggest that using Active Directory groups is a great way to control access to SharePoint sites. If you were using AD groups, you could email the AD groups.
If I have answered your question, please mark your post as Solved. If you like my response, please give it a Thumbs Up.
We have the connector "Office 365 Groups" and "Azure AD" that can grab a group of people. From there it should be fairly easy to send an email to each person. The issue is that if you don't have a group in either area that contains all of the SharePoint users then I dont believe there is any other way to grab one.
Community Support Team _ Alex Rezac If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.