Text this: Subharmonic envelopes for functions on domains