in reply to SQL Results

If you store the e-mail address as a hash key you will eliminate duplicates when doing a
for (keys(%theEmailAddressHash)) { # your email code here... }
...Just another idea.