"""
This file is part of Linspector (https://linspector.org/)
Copyright (c) 2013-2023 Johannes Findeisen <you@hanez.org>. All Rights Reserved.
See LICENSE.
"""

from linspector.notification import Notification


def create(configuration, environment, log):
    return EmailNotification(configuration, environment, log)


class EmailNotification(Notification):
    def __init__(self, configuration, environment, log):
        super().__init__(configuration, environment)
        self.__configuration = configuration
        self.__environment = environment
        self.__log = log
