the call is being lost, refactored util to be more in a callback like fashion and give responsibility to poller to build list and send emails, also made the mail function iterate over a list