Compute moi s on server start. Update mail module after refactor.