class EmailExtractor(object):
    REGEX = re.compile(r'[\w\.-]+@[\w\.-]+')

    def extract(self, message):
        """Extracts the email addresses contained within the message text."""