def METHOD_NAME(uuids):
    """Recommend organizations for a list of individuals.
    Returns a generator of affiliation recommendations
    based on the email addresses of the individuals.
    The function checks if the domains of these email
    addresses of an individual match with any of the
    domains stored on the registry. If this is the case,
    the organization associated to that domain will be
    recommended.
    Each recommendation contains the uuid of the individual
    and a list with the names of the organizations that the
    individual might be enrolled.
    When no affiliation is found, an empty list will be
    returned for that uuid. When the individual is not
    found, it will not be included in the result.
    The function will not return the organizations in which
    the individual is already enrolled.
    :param uuids: list of individual keys
    :returns: a generator of recommendations
    """
    logger.debug(
        f"Generating affiliation recommendations; "
        f"uuids={uuids}; ..."
    )
    for uuid in uuids:
        try:
            individual = find_individual_by_uuid(uuid)
        except NotFoundError:
            continue
        else:
            yield (uuid, _suggest_affiliations(individual))
    logger.info(f"Affiliation recommendations generated; uuids='{uuids}'")