Strong coupling of quantum emitters with confined electromagnetic modes of nanophotonic structures may be used to change optical, chemical and transport properties of materials, with significant theoretical effort invested towards a better understanding of this phenomenon. However, a full theoretical description of both matter and light is an extremely challenging task. Typical theoretical approaches simplify the description of the photonic environment by describing it as a single or few modes. While this approximation is accurate in some cases, it breaks down strongly in complex environments, such as within plasmonic nanocavities, and the electromagnetic environment must be fully taken into account. This requires the quantum description of a continuum of bosonic modes, a problem that is computationally hard. We here investigate a compromise where the quantum character of light is taken into account at modest computational cost. To do so, we focus on a quantum emitter that interacts with an arbitrary photonic spectral density and employ the cumulant or cluster expansion method to the Heisenberg equations of motion up to first, second and third order. We benchmark the method by comparing with exact solutions for specific situations and show that it can accurately represent dynamics for many parameter ranges.Light-matter interaction is of paramount importance for unraveling the laws of nature and its deep understanding allows us to control and manipulate physical and chemical systems. In particular, one can modify the properties of a quantum emitter simply by changing its electromagnetic environment, for example by enclosing it within an optical cavity. This may give rise to a change of the decay rate for spontaneous emission in the weak coupling regime, the so-called Purcell effect 1 , or to the appearance of hybrid light-matter states, socalled polaritons, in the strong-coupling regime 2-5 . Over the last decades, it has been shown that strong light-matter coupling can be achieved using a large variety of physical implementations as the "cavity" that provides the electromagnetic field confinement. These include Fabry-Perot cavities consisting of two mirrors 5 , propagating surface plasmon polaritons 6 , plasmonic hole 7 and nanoparticle arrays 8 , isolated plasmonic nanoparticles 9 and nanoparticle-on-mirror geometries 10,11 , as well as hybrid cavities combining plasmonic and dielectric materials [12][13][14] . In many of these systems, the electromagnetic field modes are not well-described by isolated lossy cavity modes, and a correct treatment demands theoretical approaches that are able to deal with the complexity of the electromagnetic field modes and their spectrum.In principle, to treat the problem of light-matter interaction, one can rely on the most general theory that describes light and matter on equal footing, i.e., quantum electrodynamics (QED) 15 . However, treating all light and matter degrees of freedom in the systems described above in a quantum mechanical way is an intractable problem and approx...