We're currently using the Microsoft Exchange Online connector in EasyMorph to retrieve emails from mailboxes, which is working as expected. However, one of our customer's support mailboxes contains a large number of subfolders.
We need to iterate through all these subfolders in order to process emails and their attachments programmatically. Since EasyMorph is able to detect and list each mailbox and folder, is it possible to create a built-in way to loop through subfolders dynamically, rather than creating a separate action for each one manually?
Any insights or best practices would be appreciated.
Currently, you can create a list of the subfolders using the "Create list" action, then iterate over that list and feed the folder name to the "Fetch email" action through a parameter:
Thanks! Indeed, I can use a list as a parameter. I did it with an Excel file that customer support can edit to add any new subfolders they create. However, the command to fetch the list will be very useful for me, as it will allow me to automate the entire process. I'll be waiting for the update then