Some users do not have email addresses listed in DukeDS affiliates and users endpoints. For those users an email address can be created based on the username. Changes here create an email address from username when the email address field is empty and the D4S2_USERNAME_EMAIL_HOST env variable is set.
Some users do not have email addresses listed in DukeDS affiliates and users endpoints. For those users an email address can be created based on the username. Changes here create an email address from username when the email address field is empty and the D4S2_USERNAME_EMAIL_HOST env variable is set.
This should fix https://github.com/Duke-GCB/datadelivery-ui/issues/64