def sort_duplicate_list(sorted_duplicates):
    """
    Splits list of users w/ duplicate emails into a list of lists, where each sublist is attached to one email
    """
    sorted_dup_group = []

    for index, part in enumerate(sorted_duplicates):
        if not index:
            sorted_dup_group.append([part])
        else:
            if part['attributes']['email'] == sorted_dup_group[-1][-1]['attributes']['email']:
                sorted_dup_group[-1].append(part)
            else:
                sorted_dup_group.append([part])
    return sorted_dup_group