I created a workflow where the bot will read emails from an outlook account. I am using Get Outlook Mail Message Activity and my configurations are as follows.
Initially I inserted my email address to input property Account (firstname.lastname@example.org) and string value “Inbox” to input property MailFolder. Then it was throwing The specified folder does not exist error.
I followed sugeestions made in following UiForum link Get outlook mail messages : The specified folder does not exist
The solution was to remove the email address from the input property Account and leave the MailFolder as “Inbox”. This solved the issue. But I am wondering following scenario.
Lets assume I have two mail accounts configured in my Outlook App. Configuring Get Outlook Mail Message Activity as above is leading the bot to read only mails from Primary Account. Is there any way to make the bot to read mails from other accounts as well?
One possible solution might be changing the primary account to the account the bot will access. But I am curious to find whether there exist any other alternatives?
I tried inserting following value to MailFolder with reference to an answer provided in above UiForum link which also ended in same error.
MailFolder ----> email@example.com\Inbox (firstname.lastname@example.org is not the primary account)
Can anyone suggest any possible ideas?