First, note that the formulation of the spectral theorem for self-adjoint operators you stated is formulated slightly imprecisely and does not apply to nonseparable Hilbert spaces. Another version is formulated below which is sufficient for our purposes.
Fix a measure space $(X, \mathcal{A}, \mu )$ and $\mathbb{K}$ as one of $\mathbb{R}$ or $\mathbb{C}$. We need two definitions.
Let $h\colon X\to \mathbb{K}$ be an $\mathcal{A}$-measurable function. We define the essential range of $h$, denoted by ${\rm ess \, ran} \, h$, as the unique closed subset of $\mathbb{K}$ such that for each open subset $U$ of $\mathbb{K}$ we have \begin{equation} \mu (\{x\in X : h(x) \in U \}) > 0 \end{equation} if and only if $U\cap {\rm ess \, ran} \, h \neq \emptyset$. To see that such a closed subset exists, we may take \begin{equation} {\rm ess \, ran} \, h = \{\lambda \in \mathbb{K} : \mu (\{x\in X : |h(x) - \lambda | < \varepsilon \}) > 0 \text{ for all } \varepsilon > 0 \} \end{equation} and verify that it has the desired properties.
We say the measure space $(X, \mathcal{A}, \mu )$ is locally finite if for every $E\in \mathcal{A}$ with $\mu (E) > 0$ there is some $F\in \mathcal{A}$ with $F\subseteq E$ such that $0 < \mu (F) < \infty$. Note that every $\sigma$-finite measure space is locally finite. The reason for introducing locally finite measure spaces is to ensure relevant results about multiplication operators and the multiplication operator spectral theorem are also true for nonseparable Hilbert spaces. If the reader is not concerned about this, the locally finite condition may be replaced with $\sigma$-finite everywhere in the rest of this answer.
We now state the results that will be needed. Most of these results can be found in Lectures on Functional Calculus by Haase (link). More precise references, or even proofs, can be provided if needed. We always take $\mathbb{K}$ as a field that is fixed as one of $\mathbb{R}$ or $\mathbb{C}$.
Multiplication operators. Let $(X, \mathcal{A}, \mu )$ be a locally finite measure space and $h \colon X\to \mathbb{K}$ an $\mathcal{A}$-measurable function. We define a linear operator $M_{h}$ on $L_{2}(X, \mu )$ as follows. Let $u, v\in L_{2}(X, \mu )$. Then $u \in D(M_{h})$ and $M_{h}u = v$ if and only if $hu \in L_{2}(X, \mu )$ and $hu = v$ in $L_{2}(X, \mu )$. The operator $M_{h}$ has the following properties.
$({\rm a})$ We have $\sigma (M_{h}) = {\rm ess \, ran} \, h$.
$({\rm b})$ For each $\lambda\in \mathbb{K}$ we have that $\lambda$ is an eigenvalue of $M_{h}$ if and only if \begin{equation} \mu (\{x\in X : h(x) = \lambda \}) > 0 . \end{equation} Furthermore, if $\lambda\in \mathbb{K}$ is an eigenvalue of $M_{h}$, the multiplication operator $M_{1_{[h = \lambda ]}}$ is an orthogonal projection on $H$ onto the eigenspace of $M_{h}$ associated with $\lambda$, where $[h = \lambda] = \{x\in X : h(x) = \lambda \}$.
Multiplication operator spectral theorem. Let $H$ be a Hilbert space over $\mathbb{K}$ and let $A$ be a self-adjoint operator on $H$. There exists a triple $((X, \mathcal{A}, \mu ), \varphi , W)$, known as a multiplication operator representation of $A$, where $(X, \mathcal{A}, \mu )$ is a locally finite measure space, $\varphi \colon X\to \mathbb{R}$ is an $\mathcal{A}$-measurable function and $W\colon L_{2}(X, \mu ) \to H$ is a unitary operator such that \begin{equation} A = W M_{\varphi} W^{-1} . \end{equation} If $H$ is separable, the measure space in the multiplication operator representation of $A$ may be taken as a $\sigma$-finite (or even finite) measure space.
Spectral projections. Let $H$ be a Hilbert space over $\mathbb{K}$, let $A$ be a self-adjoint operator on $H$ and let $((X, \mathcal{A}, \mu ), \varphi , W)$ be a multiplication operator representation of $H$. For every $E\in \mathcal{A}$ we define a bounded orthogonal projection operator $\Pi_{E}$ on $H$ by \begin{equation} \Pi_{E} := W M_{1_{E}\circ \varphi} W^{-1} \end{equation} with the following properties.
$({\rm c})$ For each $E\in\mathcal{A}$ we have $\Pi_{E} \neq 0$ if and only if $\mu (\{x\in X : \varphi (x) \in E \}) > 0$.
$({\rm d})$ For each $\lambda \in \mathbb{K}$ we have that $\lambda$ is an eigenvalue of $A$ if and only if $\Pi_{\{\lambda\}} \neq 0$. Furthermore, if $\lambda\in \mathbb{K}$ is an eigenvalue of $A$ then $\Pi_{\{\lambda\}}$ is the orthogonal projection of $H$ onto the eigenspace of $A$ associated with $\lambda$.
We now combine the above results to show the result you are interested in.
Proposition. Let $A$ be a self-adjoint operator on a Hilbert space $H$ over $\mathbb{K}$. Let $((X, \mathcal{A}, \mu ), \varphi , W)$ be a multiplication operator representation of $H$. Let $\lambda\in\mathbb{K}$ and suppose $\lambda$ is an isolated point of $\sigma (A)$. Then $\lambda$ is an eigenvalue of $A$. Moreover, we have that $\Pi_{\{\lambda\}}$ is orthogonal projection on $H$ onto the eigenspace of $A$ associated with eigenvalue $\lambda$.
Proof. First note that for any $t \in \mathbb{K}$ we have \begin{equation} t I_{H} - A = W (t I_{L_{2}(\mu )} - M_{\varphi}) W^{-1} . \tag{1} \end{equation} As a consequence of $(1)$ combined with $({\rm a})$, we have $\sigma (A) = \sigma (M_{\varphi}) = {\rm ess \, ran} \, \varphi$. Now because $\lambda$ is an isolated point of $\sigma (A)$, there is some $\varepsilon > 0$ such that \begin{equation} \{t \in \mathbb{K} : |t - \lambda | < \varepsilon \} \cap \sigma (A) = \{\lambda \} . \end{equation} Define $U := \{t \in \mathbb{K} : |t - \lambda | < \varepsilon \}$ and $V := \{t \in \mathbb{K} : |t - \lambda | < \varepsilon \} \setminus \{\lambda\}$. Then $U$ and $V$ are open sets in $\mathbb{K}$ with $U\cap \sigma (A) \neq \emptyset$ and $V\cap \sigma (A) = \emptyset$. As $\sigma (A) = {\rm ess \, ran} \, \varphi$, it follows from the definition of the essential range of $\varphi$ that \begin{equation} \mu (\{x\in X : \varphi (x) \in U \}) > 0 \quad \text{and} \quad \mu (\{x\in X : \varphi (x) \in V \}) = 0 . \tag{2} \end{equation} Because $U = V \cup \{\lambda\}$ as a disjoint union, we deduce from $(2)$ that \begin{align*} \mu (\{x\in X : \varphi (x) = \lambda \}) &= \mu (\{x\in X : \varphi (x) \in \{\lambda\} \}) + \mu (\{x\in X : \varphi (x) \in V \}) \\ &= \mu (\{x\in X : \varphi (x) \in U \}) > 0 . \end{align*} Hence $\mu (\{x\in X : \varphi (x) = \lambda \}) > 0$ and consequently by $({\rm c})$ we see that $\Pi_{\{\lambda\}} \neq 0$. It now follows from $({\rm d})$ that $\lambda$ is an eigenvalue of $A$ and that $\Pi_{\{\lambda\}}$ is the orthogonal projection on $H$ onto the eigenspace of $A$ associated with eigenvalue $\lambda$.