added regex to iterate through html to obtain emails