for (keys(%theEmailAddressHash)) { # your email code here... }