Based on your description, I'm assuming that your array items are dynamically populated (items are added/removed later)? If this is the case, something that could work is a process like this:
1- Identify all unique elements from the array, storing it into a dedicated array variable (it's value would be ["Portugal", "Spain", "France"])
2- Iterate this array of unique elements with an Apply to each, and inside this loop, allocate a Filter array to filter all elements from your original array that match the currently iterated unique value. E.g. for the first loop iteration, you will filter the original array by Portugal, for the second Spain, and so on.
3- The email step will depend on the type of information that you are extracting from this filtered array. I would need more information about what does this array contain o provide you a more detailed recommendation.
Anyway, you can check these 2 blogs, which contain step-by-step guides on (1) how to get unique values from arrays and (2) how to group SharePoint Records by an individual column in PA. Although this second article explores the records coming from a SharePoint List, you can make a few changes to fits it to your needs - by the way, the example used there is to send the grouped records via email, so it can maybe help with your 3rd step as well :)
Let me know if it works for you or if you need any additional help!
✅
If this solved your issue, please mark it as Accepted Answer.
👍
If it helped, feel free to give it a like!
🌐 Explore more Power Platform content on my
Website or on my ▶️
YouTube
💼 Find me on
LinkedIn