It would be nice if we could iterate on a set inside a loop and save the result processed inside it to be used later, outside the loop.
Example:
Iterate on all events of a calendar and append to a "Compose" box
Exit the loop and send an e-mail with the "Compose" box content, which contains data from every loop iteration.