def __init__(self, api_key=None, default_sender=None, **kwargs):
super(EmailBackend, self).__init__(**kwargs)<EOL>self.api_key = api_key if api_key is not None else getattr(settings, '<STR_LIT>', None)<EOL>if self.api_key is None:<EOL><INDENT>raise ImproperlyConfigured('<STR_LIT>')<EOL><DEDENT>self.default_sender = getattr(settings, '<STR_LIT>', default_sender)<EOL>self.test_mode = getattr(settings, '<STR_LIT>', False)<EOL>
Initialize the backend.