Retrieving Emails and Attachments From Emails in Mule 4

Step 1

Create a new Mule project and name it samplemaildemo (You can choose any name).

Step 2

Drag and drop an HTTP listener component to get the request for your service. Specify the host and port and provide a URI path. Make sure to test it, as the port is not being used by any of your other services.