Note that the first time you enable the email or sso configurations it will reset your existing Mattermost configuration.