For $0 < \theta < 2\pi$, define $$\kappa(x,\theta) = \frac{1}{\zeta(x)}\sum_{n=1}^\infty \frac{e^{ in\theta}}{n^x}$$ for $\Re(x) > 1$. It is easy to see that $$\kappa(x,\theta) = \frac{1}{\zeta(x)\Gamma(x)}\int_0^\infty \frac{t^{x-1}}{e^{t - i\theta}-1}dt $$
My question is what the analytic continuation of this function $\kappa(x,\theta)$ looks like for $x=0$ and negative integer $x$. We can assume $\theta$ is fixed.
You can perhaps use the following (if I am not wrong): We have: $$\frac{t^{x-1}}{\exp(t-i \theta)-1}-\frac{t^{x-1}}{\exp(t)(\exp(-i\theta)-1)}=-\frac{\exp(t)-1}{t}\frac{t^x}{\exp(t)(\exp(t-i\theta)-1)(\exp(-i\theta)-1)}$$
Hence $$\int_0^{+\infty}\frac{t^{x-1}}{\exp(t-i \theta)-1}=\frac{\Gamma(x)}{\exp(-i\theta)-1}-g(x)$$ and $g(x)$ is well defined (and analytic ) for ${\rm Re}(x)>-1$.