issue #21432: prevent crash if email is not in system