Below is likely how I would build the flow.
See full flow below. I'll go into each of the actions.

List rows is what you currently have.

Select extracts out your email addresses. For this example, I've just use the Created By (Value) field.

Initiate variable is the same as what you have.

Apply to each uses the following expression to iterate over each of the unique users.
union(body('Select'), body('Select'))

Filter array filters out the records where the user is equal to the current user we are iterating over.

Append to array variable appends the first record returned to our array. It uses the following expression.
first(body('Filter_array'))
