How to reproduce
- Find user without valid email / with disabled email
- go to [[Special:UserRights/username]]
- there is a link "send email"
- after clicking on the link, there is no form for sending email, but to elect a username
- after electing and confirming username, the form shows "This user has not specified a valid email address."
If the user hasn't valid email / have disabled email, on [[Special:UserRights/username]] is no link to send email.