Fixing JENKINS-16453

Fixes JENKINS-16453 by changing a check for an existing email address. The former version checked if that property was null which is insufficient. If that property is present the email address must be retrieved by the getAddress() method.