email smtp + fix chat urls