I am looking for some assistance parsing emails that we have gotten in a given Exchange Email account on our Office365.
We have been able to get connected using the Microsoft Authenticator node and the Custom Scope/Permission of “Mail.ReadWrite”
This will let us on the GET Request Node to fetch the first email it can grab.
Here is what we want to do though.
- Check folder ToBeProcessed look for first email to find
- Parse that email and from the receiveddatetime, from email, and parse the body elements(it contains an address) and put those items into a mysql table.
- Send a response email to the from email.
- move the email to a folder Processed
- go back to ToBeProcessed and start over.
What is the best way to accomplish this.