'Plugin entry point, get the emails and save them to the kb.
:param request: The HTTP request
:param request: The HTTP response
:return: None'

def grep(self, request, response):

    self._grep_worker(request, response, 'emails', response.get_url().get_root_domain())
    if (not self._only_target_domain):
        self._grep_worker(request, response, 'external_emails')
