Text this: Exact solution of the Izergin-Korepin Gaudin model with periodic and open boundaries