Skip to main content

Automating File Extraction from Daily Outlook Emails via Jupyter Notebook

  • November 11, 2024
  • 1 reply
  • 29 views

Hello Cognite Community,

I am working on a workflow that involves receiving a daily email with a consistent title in Outlook. Each email contains an attachment that I need to extract and process. I'm looking for a way to automate this extraction process using Jupyter Notebook.

Has anyone implemented a similar solution or could guide me on how to approach this? Specifically, I’d like to:

  • Identify emails by their subject line
  • Download the attachment(s) automatically
  • Work with these files within a Jupyter Notebook environment for further analysis

Any suggestions, code samples, or libraries that could help with this integration would be greatly appreciated!

Thank you in advance for your insights

1 reply

Mithila Jayalath
Seasoned Practitioner
Forum|alt.badge.img+8

@Khalfan as a starting point you can refer to the article here and get back if you come across issues along the way.