Email rt-owner on errors with overridable function