I’d do this by manually checking if the data exists, by
foreach ($it as $row) {
if(isset($row[0])) {
$email = $row[0];
} else {
// if you want to handle case where email is not present, just do something here
}
if(isset($row[1])) {
$name = $row[1];
}
// now here you have $email and $name set to values from the array.
}
for example, if you have numerical indexes.
This would give you stricter control over the format of what will be parsed and in case of problems, faster to debug where exactly a value is missing or otherwise follow the logic.