Invia SMS: Generalization error of graph neural networks in the mean-field regime