#17657 check existing email address is active, and fix email attributes