Numerically, I find that the following identity is true:
$$ \sum_{n=-\infty}^\infty \frac{-x}{x^2+(y-2\pi n)^2} = \frac{\sinh(x)}{2(\cos(y)-\cosh(x))}. $$
However, I am unsure how to go about proving it. I have tried the Laplace transform method (cf. here eqn. (23)), but this leads to integrals that neither I nor Wolfram Alpha could solve. I thought about using the Taylor series of $\sinh$, $\cos$, and $\cosh$ but then I am facing the problem of dividing by a Taylor series which is nasty.
Does someone have an idea how to prove this identity?
Do you know Herglotz' trick? For a fixed value of $x$, both the LHS and the RHS, regarded as meromorphic functions of the complex variable $y$, have the same singularities (simple poles) and the same residues. The value of the LHS at $y=0$ is simple to compute through Fourier series and this essentially finishes the proof. As an alternative approach, you may just consider the Weierstrass products for the $\sin$ / $\sinh$ functions together with their logarithmic derivatives. Yet another way is to exploit the Poisson summation formula.