in studiox just add the use outlook app card and place a move email and download attachment activities inside.
this way it will work on “selected email” only. But if you place also a for each email inside the card and the two activities inside it will work in a loop for each email in that folder for example