Logic Apps - Get Email (V3) - limit to top 25 emails

%3CLINGO-SUB%20id%3D%22lingo-sub-2535611%22%20slang%3D%22en-US%22%3ELogic%20Apps%20-%20Get%20Email%20(V3)%20-%20limit%20to%20top%2025%20emails%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2535611%22%20slang%3D%22en-US%22%3E%3CP%3EHi%20guys%2C%3C%2FP%3E%3CP%3EI'm%20fetching%20mailbox%20(over%20100%20emails)%20into%20for%20each%20loop%20but%20Get%20Email%20(V3)%20limit%20to%20top%2025%20email%20only%20into%20the%20loop%20then%20continue%20on%20to%20next%20tasks%3C%2FP%3E%3CP%3EHow%20can%20I%20fetch%20all%20emails%20into%20foreach%20loop%20before%20continue%20on%3F%3C%2FP%3E%3CP%3EThank%20you%2C%3C%2FP%3E%3CP%3ET.T%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2535795%22%20slang%3D%22en-US%22%3ERe%3A%20Logic%20Apps%20-%20Get%20Email%20(V3)%20-%20limit%20to%20top%2025%20emails%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2535795%22%20slang%3D%22en-US%22%3EIt's%20actually%20not%20difficult.%3CBR%20%2F%3E%3CBR%20%2F%3EI%20nested%20action%20Get%20Email%20(V3)%20into%20Until%20Loop%20so%20each%20iteration%20will%20fetch%2025%20emails%20until%20number%20of%20iteration%20%3D%20total%20amount%20of%20email%20%2F%2025.%3C%2FLINGO-BODY%3E
New Contributor

Hi guys,

I'm fetching mailbox (over 100 emails) into for each loop but Get Email (V3) limit to top 25 email only into the loop then continue on to next tasks

How can I fetch all emails into foreach loop before continue on?

Thank you,

T.T

1 Reply
It's actually not difficult.

I nested action Get Email (V3) into Until Loop so each iteration will fetch 25 emails until number of iteration = total amount of email / 25.