[FIXED JENKINS-24214] SECURITY-152 fix broke test email sending.