Loop through emails and get subject text

  • 23 August 2023
  • 2 replies

Badge +4


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?



Best answer by Tamil Arasu10 24 August 2023, 09:39

View original

2 replies

Userlevel 4
Badge +9

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


emailSubject String Retrieves the value of the email subject
Badge +4


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