Consider a normal operator $N$ on complex Hilbert space $\mathcal{H}$, such that for each $\lambda\in\sigma(N)\setminus\{0\}$, $\lambda$ is isolated in $\sigma(N)$ and $\mathrm{dim}\mathrm{ker}(N-\lambda I)<\infty$. Moreover, let $\rho$ denote the continuous functional calculus on $\sigma(N)$.
How would one verify that $\rho(\mathbf{1}_{\{\lambda\}})$ and $N$ are compact?
I realize that $\rho(\mathbf{1}_{\{\lambda\}})$ is a self-adjoint idempotent and that $(N-\lambda I)\rho(\mathbf{1}_{\{\lambda\}})=0$, but I am unsure whether I should try to come up with some functional calculus trick or use some purely theoretic insight.
As Bruno B mentioned in comments, $\rho(1_{\{\lambda\}})$ is the projection onto $\mathrm{ker}(N - \lambda I)$, which is finite-dimensional by assumption, whence $\rho(1_{\{\lambda\}})$ is a finite rank projection and therefore compact.
Now, we show that $N$ itself is compact. There are two cases: