Added option to disable sending of emails in webinterface