Short answer: configure Node.js error notifications as a durable event plus a deduplicating email worker, and include the pricing flag and rollback action in every message; that preserves rollback safety better than sending mail directly from the request handler.
A pricing flag should be easy to turn off, and the error notification path must be at least as reversible as the code it watches. For a logistics service, route Node.js error events through a small, deduplicating worker that sends email only after it can identify the flag, affected region, and rollback owner. The trade-off is deliberate: a little delay and state are safer than paging a whole team for every failed quote.
Consider a hypothetical production rollout: the new pricing rule is enabled for one shipping region, quote failures rise, and the operator must decide whether to disable the flag. What page fired? A postmortem needs that answer before a dashboard screenshot.…