Let's write down all points that can be singularities for $f(z)$:
$z = 0$
$z = 2\pi$
$sin(z) = 0$ or $z = \pi n$
$z = \infty$
Case $z = 0$:
It's sum of pole and is essential singularity, so it's is essential singularity (because the principal part of the Laurent series is an infinite sum).
Case $z = 2\pi$:
It's order 2 pole. Indeed:
$$f(z) = z^{3}e^{1/(2z)} + \frac{z + 2\pi}{z-2\pi}\,\cot (z) = z^{3}e^{1/(2z)} + \frac{z + 2\pi}{z-2\pi}\ \frac{cos(z)}{sin(z)} = u(z) + \frac{v(z)}{(z-2\pi)sin(z)}$$
where $u, v$ - is holomorphic in $2\pi$.
So $z = 2\pi$ is pole. First derivative $\frac{d}{dz}((z-2\pi)sin(z)) = sin(z) + (z-2\pi)cos(z)$ is equal to $0$ at $z = 2\pi$. Second derivative at $z = 2\pi$ is not equal to $0$. We get that $z=2\pi$ order 2 pole.
Case $z = \pi n$, where $n \neq 0, 2$:
It's order 1 pole. Prove is the same as for case $z = 2\pi$, except that the first derivative is not equal to zero.
Case $z = \infty$:
It is not singularity, because it's a limit of singularities.
\cotwill work better for you. – Adrian Keister Jul 02 '19 at 17:51