Hi @Anonymous
You can try this way.
I have created a table for demo purpose like below

Flow is designed like below
1. List all rows present in the table

2. Select the email from the values which is output from List rows in tableaction.

3. Use apply to each loop to loop through each unique values of email like below

expression: union(body('Select_emails_'),body('Select_emails_'))
4. Inside the loop follow below steps
4.1 Filter the value with email = current iteration email

4.2 Now create HTML table out of filter array like below

Here i am only considering Invoice num in table. You can other column if you need here , then use the output from create HTML table to be send via email.

Hope it helps 🙂
Mark it as solution if it resolves your query 🙂