def METHOD_NAME(self):
    """Detects email addresses in the self.text
    This function is called by detect_entity(text)
    Returns:
        A tuple of two lists with first list containing the detected email addresses and second list containing
        their corresponding substrings in the given text.
        For example:
            (['example@haptik.ai'], ['example@haptik.ai'])
    """
    email_list = []
    original_list = []
    email_list, original_list = self._detect_email_format(email_list, original_list)
    self._update_processed_text(original_list)
    return email_list, original_list