Allow to make email optional

This allows to make emails optional on an installation base. Making
emails optional makes the "require email validation" instance option
meaningless.

I'm not sure if I catched all relevant places which are impacted by that change, so I'd appreciate some thoughts and testing.