extracting attachments from outlook

s3
Databricks Partner

Can we fetch attachments from outlook in databricks?

Stefan-Koch
Databricks Partner

Hi s3

You could use Microsoft graph for that. Here is an example: https://learn.microsoft.com/en-us/answers/questions/1631663/using-graph-api-to-retrieve-email

Another way I have always done this is through the Logic App. It is pretty easy to set up and works very well. You can store the attachments into your data lake directly into a path where your Volume is. Here is an example of how you can do that: https://learn.microsoft.com/en-us/azure/logic-apps/tutorial-process-email-attachments-workflow