I am looking at the proof of the Fourier transform of a Gaussian, that is, for $z\in \mathbb C$ with $\Re z>0$, we have $\mathcal{F}(e^{-\frac{z|x|^2}{2}})(p)=\frac{1}{z^{d/2}}e^{-\frac{|p|^2}{2z}},$ where we interpret $z^{d/2}$ as $(\sqrt{z})^d$, and the branch cut of the square root is chosen along the negative real axis.
The proof is completed by showing that $\frac{1}{\sqrt{2\pi}}\int_{\mathbb{R}} e^{-zx^2/2}dx=\frac{1}{\sqrt z}$.
This is true for $z>0$ by applying the change of variables $y=\sqrt{z}x$.
For general $z\in \mathbb C$ it says this follows by analytic continuation.
To apply analytic continuation I need to know that the function $$z\mapsto \frac{1}{\sqrt{2\pi}} \int_{\mathbb{R}} e^{-zx^2/2}dx$$ is analytic in $\{z\in \mathbb{C}, \Re z>0\}$.
How can I show this? One method I thought of is Morera's theorem, but I don't know how to guarantee that Fubini's theorem apply here to exchange the integrals. I would greatly appreciate any help.