Fix #32. Fix sending e-mail to empty e-mail address when registering a leader