Need help with UiPath robot to process emails with attachments

i just need the main process

the trigger is when a new email arrive (do while or for each) what is better ?