I have a question concerning get email folder names into a spreadsheet. I have 5 get outlook mail message activities that are combined to get all the emails. Info of the emails like subject and sender and body are in a datatable. I would like to add another column in the table for which mailfolder the email came from, but I have yet to find a solution.
I would loop the folders in a “For Each” activity and then simply read the value of the current folder.
Take a look at this example (download below).