id) ->orWhere('email_verified_at', '!=', null) ->select('email') ->get() ->filter(function ($recipient) use ($value) { if (($recipient->email) === strtolower($value)) { return $recipient; } }); if (count($items) !== 0) { $fail('A recipient with that email already exists.'); } } }