I am trying to calculate
$$\int_{|z-2| = 3} e^{1/z}$$
I parametric the circle of radius three centered at 2 by $\gamma(t) = 3e^{it} +2$ and so I can instead evaluate
$$\int_\gamma f(\gamma(t))\gamma'(t) = \int_0^{2\pi}\exp\left(\frac{1}{3\exp(i\theta)+2}\right)3i\exp(i\theta)$$ and I am stuck here because I do not know how to compute the antiderivate of this. This makes me think there must be an easier way to do this
I am aware that the integrand is not defined at $z = 0$ is this what is causing problems? Since $\gamma$ is a closed path can I just say that the integral is zero, or does the fact that the integrand is not defined at $0$ mean that it is not analytic and hence I can not use Cauchy's theorem?
You can apply the residue theorem here. Since$$e^{\frac1z}=1+\frac1z+\frac1{2z^2}+\cdots,$$you know that $\operatorname{res}_{z=0}\left(e^{\frac1z}\right)=1$. Therefore, your integral is equal to $2\pi i\times1=2\pi i$.