/**
  * delete
  *
  * @param EmailInterface $email email
  *
  * @return bool|null
  * @throws CannotDeleteMainEmailOfUserException
  */
 public function delete(EmailInterface $email)
 {
     $user = $email->user;
     if ($user->email === $email->getAddress()) {
         throw new CannotDeleteMainEmailOfUserException();
     }
     return $email->delete();
 }
 /**
  * delete
  *
  * @param EmailInterface $email email
  *
  * @return mixed
  * @throws CannotDeleteMainEmailOfUserException
  */
 public function delete(EmailInterface $email)
 {
     return $email->delete();
 }