def read_config(config_path=CONFIG_PATH):
if not os.path.isfile(config_path):<EOL><INDENT>raise IOError("<STR_LIT>" % config_path)<EOL><DEDENT>config_parser = configparser.ConfigParser()<EOL>config_parser.read(config_path)<EOL>config = _config_parser_to_defaultdict(config_parser)<EOL>return config<EOL>
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