  We conduct an in-depth spectral analysis of $\sim1{\rm ~Ms}$ XMM-Newton data
of the narrow line Seyfert 1 galaxy RE J1034+396. The long exposure ensures
high spectral quality and provides us with a detailed look at the intrinsic
absorption and emission features toward this target. Two warm-absorber (WA)
components with different ionization states ($\log (\xi/{\rm erg~cm~s}^{-1})
\sim 4$ and $\log (\xi/{\rm erg~cm~s}^{-1}) \sim 2.5-3$) are required to
explain the intrinsic absorption features in the RGS spectra. The estimated
outflow velocities are around $-1400{\rm ~km~s}^{-1}$ and $-(100-300){\rm
~km~s}^{-1}$ for the high- and low-ionization WA components, respectively. Both
absorbers are located beyond the broad-line region and cannot significantly
affect the host environment. We analyze the warm absorbers in different flux
states. We also examine the May-2007 observation in the low and high phases of
quasi-periodic oscillation (QPO). In contrast to previous analyses showing a
negative correlation between the high-ionization WA and the QPO phase, we have
found no such variation in this WA component. We discover a broad emission bump
in the spectral range of $\sim12-18$ Angstrom, covering the primary features of
the high-ionization WA. This emission bump shows a dramatic change in different
source states, and its intensity may positively correlate with the QPO phase.
The absence of this emission bump in previous work may contribute to the
suggested WA-QPO connection.
