Even though you may have a SharePoint site that lives on premise, it doesn’t mean that it can’t take part in the Power Platform fun. In this video I take an on premise SharePoint server, install the On Premises Data Gateway and run a flow that saves incoming email attachments to a list on SharePoint on premise.
source