def extract_name_email (txt):
    """ 
        Extracts the name and email from RFC-2822 encoded email address.
        For eg. "Jeff Jeff <jeff.jeff@gmail.com>" returns ("Jeff Jeff", "jeff.jeff@gmail.com")
    """
    if "<" in txt and ">" in txt:
        name, email = txt.split("<")
        return name[:-1], email[:-1]
    elif "<" not in txt and ">" not in txt:
        return "", txt
    else:
        return None