Hi,
I'm pulling a list of emails from GMAIL using the "Retrieve email messages from IMAP" option. This list is stored in a variable retrieved from the inbox. However, every email thread is split into individual items in the list. So, an email conversation with 100 replies will appear 100 times in the list, with only some details like the sender and the message content changing as the thread progresses.
I'm struggling to find a solution because with the emails from a thread repeating multiple times, the flow tries to process each of these items one by one. If several emails with long conversations arrive, it would take an eternity for the flow to handle this entire list, when only the last email of each thread is what really matters for feeding the flow of actions.
Thank you in advance for your help!

------
