Refactor disabling email opt in for commcare users