With the new* in preview service Flow -as part of Office 365- it's possible to add email attachments to a document library in SharePoint Online, where as the standard option is not available.
This is an useful way to process files by saving them in a document library and thereby triggering a workflow for further processing.
There's a template available to start from. First the permission to the connections must be set.
Then the logic flow itself is configured. Extra conditions can/should be added to the trigger 'On new email' to be sure that only relevant content is saved to the document library that is listed in the Folder Path.
Give the flow a name and hit the button 'Create Flow' to publish and activate it.
Now the flow is active. Take it for a test drive and send an email with attachment to the inbox.
Under My Flows there's a dashboard with a list of your flows. Click for information to show the list runs.
You can check the status of every run and zoom into it. Click on the step for more detailed info about it.
After a succesful run the email attachments were saved to the document library in SharePoint Online.
The flow could be extended with another action to set the Title field of the file via the REST API using a Http request.
* Microsoft Flow is availabe in preview and is a development that originated from Azure Logic Apps and was/is part of the (former invite-only) preview of PowerApps. With Flow it's possible to create automated workflows between different services to get notifications, synchronize files, collect data, etc. in a way of If This Than That by configuring a combination of trigger, conditions and actions.