I want to connect my app to the exchange server which is on-premise to be able to have a single sign in method for the user as well as send/recieve mails directly in the users inbox. Is there anyway to achieve this with a custom connector or through on-premise data gateway?
Any help in finding a workaround for this will be appreciated
Could you please share a bit more about your scenario?
Could you please share more details about the exchange server? Does it provide a REST API to call corresponding action?
Further, is the exchange server that you mentioned is On-premise server?
If the exchange server that you mentioned has provided a proper REST API, I think you could custom a connector within your PowerApps based on the REST API. Then you could use the custom connector action within your app to achieve your needs.
More details about customizing a connector within PowerApps, please check the following article or video: