Can I masschange all admin emails for a multisite instance?

I am managing a multi-site instance of Wp with 300 sites and so I am trying to see if this can be done automatically.

I know individually I can go to each site and change the admin email value in the settings but is there a way to affect all sites? I have tried searching for this and can’t seem to find a post discussing this exact topic.