Let $f$ be a meromorphic function in a neighborhood of the closed unit disk $\bar{\mathbb{D}}$. Suppose that $f$ is holomorphic in $\mathbb{D}$ and $$ f(z) = \sum_{n=0}^\infty a_n z^n $$ for $z \in \mathbb{D}$. Prove that if $f$ has a pole on the unit circle $\mathbb{T}$ then the above power series diverges at any $z \in \mathbb{T}$.
Attempt at solution : My first observation was that if I can prove this claim when the pole is at a specific point like $z = 1$ on $\mathbb{T}$, then using rotation the claim will be valid for any arbitrary point on $\mathbb{T}$. So I assumed $$ \sum_{n=0}^\infty a_n z^n = \frac{g(z)}{(z-1)^k}$$ with $g(z)$ holomorphic in a neighborhood of $\bar{\mathbb{D}}$. Even with the further simplification of assuming k = 1, I could only prove that $\lim_{n-> \infty} a_n = g(1)$ which is finite. Can someone please help with the solution.
It suffices to show that the coefficients $a_n$ cannot converge to $0$. Now suppose that $|a_k| \leq \varepsilon$ for $k \geq m$. Then for $z\in\mathbb{D}$ $$|f(z)|\leq \frac{\varepsilon}{1-|z|}+\sum_{k=0}^{m-1}|a_k|.$$ This implies that if $a_k$ converges to $0$ then $\lim_{|z|\to 1}(1-|z|)|f(z)|=0$. In particular $f$ cannot have a pole on $\mathbb{T}$ in this case.