Skip to main content

Hi,

I want to get certain text from the subject of some emails in my inbox. I am trying to create a loop that iterates over each email and gets the innerHTML property, but so far I can only get the text from the first one multiple times. How can I iterate throught the emails in my inbox and get the text in the subject?

Thanks

Hi @jsegura 2409 ,

Following Steps:

  • Use the Email Connect Action
  • Loop the mailbox (inbox)
  • Assign the variable into Dictionary 

Please refer the below links,

 

The email properties are stored in a dictionary variable within the following dictionary key

https://docs.automationanywhere.com/bundle/enterprise-v2019/page/enterprise-cloud/topics/aae-client/bot-creator/commands/cloud-email-action-loop.html

https://docs.automationanywhere.com/bundle/enterprise-v2019/page/enterprise-cloud/topics/aae-client/bot-creator/commands/cloud-using-email-properties.html

 

emailSubject String Retrieves the value of the email subject

Thanks,

And how can I read the content of the email and store it in a variable?


@Tamil Arasu10 

 

In case of reading emails with large volume within short time if we need to use multiple bots to read Unread emails from the same mailbox, how can we avoid to read same email by more than one BOT and get the details duplicated ?

Or any other alternate solution to read large no of emails within short time faster without using multiple bots option ?

 

kindly provide feedback! THANKS


Reply