In AEM JEE there is an email start point to read incoming emails from a specified email address and process these emails and/or attachments accordingly. Any have an idea of the OSGI equivalent of this?
@Eric_Stricker, AEM does not have a receiving email inbox in the platform itself, so you would need to find an alternative strategy to satisfy your requirements. In outlook 365, you can set up workflows to invoke HTTP requests whenever your inbox receives an email. The HTTP request can be made to your AEM instance with the payload as JSON where that can be there starting point of your custom process. The HTTP request path is also a servlet that will be registered by your AEM application, which will be created by yourself.