original_docstring: 
      Sends an email to the configured error-email.
  
      If no error-email is configured, then a message is logged.
      
docstring: Sends an email to the configured error-email.
  If no error-email is configured, then a message is logged.
docstring_tokens: Sends an email to the configured error - email . If no error - email is configured then a message is logged .
code: def send_error_email(subject, message):
      """
      Sends an email to the configured error-email.
  
      If no error-email is configured, then a message is logged.
      """
      config = configuration.get_config()
      receiver = config.get('core', 'error-email', None)
      if receiver:
          sender = config.get('core', 'email-sender', DEFAULT_CLIENT_EMAIL)
          logger.info("Sending warning email to %r", receiver)
          send_email(
              subject=subject,
              message=message,
              sender=sender,
              recipients=(receiver,)
          )
      else:
          logger.info("Skipping error email. Set `error-email` in the `core` "
                      "section of the luigi config file to receive error "
                      "emails.")
code_tokens: def send_error_email ( subject , message ) : config = configuration . get_config ( ) receiver = config . get ( 'core' , 'error-email' , None ) if receiver : sender = config . get ( 'core' , 'email-sender' , DEFAULT_CLIENT_EMAIL ) logger . info ( "Sending warning email to %r" , receiver ) send_email ( subject = subject , message = message , sender = sender , recipients = ( receiver , ) ) else : logger . info ( "Skipping error email. Set `error-email` in the `core` " "section of the luigi config file to receive error " "emails." )
short_docstring: Sends an email to the configured error-email.
short_docstring_tokens: Sends an email to the configured error - email .
comment: """
      Sends an email to the configured error-email.
  
      If no error-email is configured, then a message is logged.
      """