The deposition of individual molecules, molecular networks, and molecular layers at surfaces is at the core of surface reactivity, energy harvesting, molecular electronics, and (single) photon sources. Yet, strong adsorbate−substrate interaction on metallic surfaces quenches the excited molecular states and harms many practical applications. Here, we theoretically address the role of a NaCl ionic crystal spacer layer in decoupling an adsorbate from the substrate and therefore changing the interplay between the competing decay channels of an excited molecule driven by electronic and electromagnetic interactions. A quantitative assessment of the corresponding decay rates allows us to establish the minimum thickness of the spacer required for the observation of molecular luminescence from the junction of a scanning tunneling microscope. Our work provides a solid quantitative theoretical basis relevant for several fields of nanotechnology where engineering of ionic crystal spacers allows for adsorbate charge manipulation, reactivity, and photon emission in nanocavities.