By Lemma 47.2.4 the inclusion $R/\mathfrak p \subset \kappa (\mathfrak p)$ is an essential extension. Then Lemma 47.5.3 shows (2) holds. For $f \in R$, $f \not\in \mathfrak p$ the map $f : \kappa (\mathfrak p) \to \kappa (\mathfrak p)$ is an isomorphism hence the map $f : E \to E$ is an isomorphism, see Lemma 47.5.3. Thus $E$ is an $R_\mathfrak p$-module. It is injective as an $R_\mathfrak p$-module by Lemma 47.3.3. Finally, let $E' \subset E$ be a nonzero injective $R$-submodule. Then $J = (R/\mathfrak p) \cap E'$ is nonzero. After shrinking $E'$ we may assume that $E'$ is the injective hull of $J$ (see Lemma 47.5.3 for example). Observe that $R/\mathfrak p$ is an essential extension of $J$ for example by Lemma 47.2.4. Hence $E' \to E$ is an isomorphism by Lemma 47.5.3 part (3). Hence $E$ is indecomposable.