Fix initialization of preferences module

Don't try to initialize the tabs controller on the mail options tab if
the mail module is disabled.