Seol mar théacs é seo: Optimal domain and integral extension of operators