I am trying to clarify the relationship between the spectral decomposition / eigendecomposition of a matrix and projection operators.
I understand that there is a connection between diagonalizability of a linear operator / matrix and projection operators in the following sense:
Given a finite-dimensional vector space $V$ ($\dim V = n$) and a linear operator $T \in L(V)$ that has $k \leq n$ distinct eigenvalues $\lambda_1, \dots, \lambda_k$, if $T$ is diagonalizable, then there exist $k$ linear operators $E_1, \dots, E_k$ on $V$ such that the $E_i$ are projection operators, $I = \sum_i E_i$, and $T = \sum_i \lambda_i E_i$, etc. (and an analogous converse also holds).
I also understand that the spectral decomposition / eigendecomposition of an $n \times n$ matrix $\mathbf{A}$ with $n$ linearly independent eigenvectors can be written as $\mathbf{A = Q \boldsymbol{\Lambda} Q^{-1}}$, where $\mathbf{Q}$ is the matrix whose $i$th column is the eigenvector $q_i$ of $\mathbf{A}$, and $\Lambda_{ii} = \lambda_i$.
If $\mathbf{A}$ is a normal matrix, then $\mathbf{Q}$ is unitary, so that $$\mathbf{A} = \sum_{i=1}^n\lambda_iq_i q_i^*,$$ where $q_i^*$ is the adjoint of $q_i$.
Does this mean, then, that the projection operator associated with $\lambda_i$ can be related to the sum of outer products of eigenvectors with the same eigenvalue:
$$ E_i = \sum_{j=1}^{r_i} q_j q_j^*,$$
where $r_i$ is the algebraic multiplicity of $\lambda_i$? And then all of the associated properties of the projection operators hold?
Or are there additional assumptions/conditions (other than $\mathbf{A}$ being normal) that need to be taken to be true for this relationship to hold (for instance, I believe that $V$ needs to be an inner product space for the spectral decomposition to be formulated)? Any additional information on the relationship between these two paradigms would be greatly appreciated. Thank you!