Replace scraping with emails from the API. Closes #656.