protected function normalizeEmail($email)
{
if (is_array($email)) {
$emails = [];
foreach ($email as $k => $v) {
if (is_int($k)) {
$emails[$k] = $this->getManager()->normalizeEmail($v);
} else {
$k = $this->getManager()->normalizeEmail($k);
$emails[$k] = $v;
}
}
return $emails;
} else {
return $this->getManager()->normalizeEmail($email);
}
}