The following integral has been on my mind for a while $$\int_0^\infty \frac{\sin(x)}{e^x-1}\,\mathrm d x \tag{$\dagger$}$$
Let us indicate the integrand as $f(x)=\frac{\sin(x)}{e^x-1}$. The following are a couple of observations.
The integrand can be extended by continuity in $0$ since $$\lim_{x\to 0}f(x)=\lim_{x\to 0}\frac{\frac{\sin(x)}{x}}{\frac{e^x-1}{x}}=1$$ This is the original reason I started playing around with this integral.
Mathematica yields the result $$\int_0^\infty \frac{\sin(x)}{e^x-1}\,\mathrm d x=\frac{\pi}{2}\textrm{Coth}(\pi)-\frac 12 \approx 1.076674047$$ which, following numerical evidence, seems correct.
Complex analysis may be useful here, since the integrand is a holomorphic function on $\mathbb C$. I tried writing $\sin(z)=\frac{e^{iz}-e^{-iz}}{2i}$, but I was not able to find an appropriate integration contour to solve the problem.
The $-1$ in the denominator breaks the simmetry of the expression. This made most of my substitutions useless.
Can this integral be evaluated correctly, preferrably through complex analytic methods?
Without resorting to the Abel-Plana formula, you may simply notice that
$$ I=\int_{0}^{+\infty}\frac{\sin x}{e^x-1}\,dx = \sum_{n\geq 1}\int_{0}^{+\infty}\sin(x)e^{-nx}\,dx = \sum_{n\geq 1}\frac{1}{n^2+1} \tag{1}$$ and since $\frac{\sin(\pi x)}{\pi x}=\prod_{n\geq 1}\left(1-\frac{x^2}{n^2}\right)$, by applying $\frac{d}{dx}\log(\cdot)$ to both sides we get: $$ -\frac{1}{x}+\pi\cot(\pi x) = \sum_{n\geq 1}\frac{2x}{x^2-n^2}\tag{2} $$ as well as: $$ \sum_{n\geq 1}\frac{1}{n^2+z^2} = \frac{-1+\pi z \coth(\pi z)}{2 z^2}\tag{3}$$ from which $I=\frac{-1+\pi\coth(\pi)}{2}$ clearly follows.
Have a look at this thread for further proofs.