code: def read_config(config_path=CONFIG_PATH):
      
      if not os.path.isfile(config_path):
          raise IOError("No config file found at %s" % config_path)
      config_parser = configparser.ConfigParser()
      config_parser.read(config_path)
      config = _config_parser_to_defaultdict(config_parser)
      return config
docs: Read the config information from the config file.
  
      Args:
          config_path (str): Relative path to the email config file.
      Returns:
          defaultdict: A defaultdict with the config information.
      Raises:
          IOError