A non-Markovian quantum trajectory approach to radiation into structured continuum