Suppose $X_1, X_2, . . . , X_n$ are i.i.d Poisson ($\theta$) random variables, where $\theta\in(0,\infty)$. Give the UMVUE of $\theta e^{-\theta}$
I found a similar problem here.
I have that the Poisson distribution is an exponential family where
$$f(x\mid\theta)=\frac{\theta^x e^{-\theta}}{x!}=\left(\frac{I_{(0,1,...,)}(x)}{x!}\right)e^{-\theta}\text{exp}\left(x\cdot\text{log}(\theta)\right)$$
where $w(\theta)=\text{log}(\theta)$ and $t(x)=x$. Since
$$\{{w(\theta):\theta\in\Theta\}}=\{{\text{log}(\theta):\theta\in(0,\infty)\}}=(-\infty,\infty)$$
contains an open set in $\mathbb{R}$
$$T(\vec{X})=\sum_{i=1}^n t(X_i)=\sum_{i=1}^n X_i$$
is a complete statistic (Complete Statistics in the Exponential Family Theorem) and is also sufficient (Factorization Theorem). Hence $\bar{X}=\frac{T}{n}$ is sufficient for $\theta$, and hence, for $\theta e^{-\theta}$.
I tried to Rao-Blackwellize the unbiased estimator $\bar{X}$. For all possible values of $T$ we have that since $\theta e^{-\theta}=\mathsf P(X_i=1)$ then
$$\begin{align*} \mathsf P(X_1=1\mid\bar{X}=t) &=\frac{\mathsf P(X_1=1,\sum_{i=2}^n {X_i} =nt-1)}{\mathsf P(\bar{X} = t)}\\\\ &=\frac{\frac{e^{-\theta}\theta}{1}\cdot\frac{e^{-(n-1)\theta}((n-1)\theta)^{nt-1}}{nt-1!}}{\frac{e^{-n\theta}(n\theta)^{nt}}{nt!}}\\\\ &=t\cdot\left(1-\frac{1}{n}\right)^{nt-1} \end{align*}$$
Since $\mathsf E(X_1)=\theta$, then $X_1$ is an unbiased estimator of $\theta$, and so it follows from the Lehmann–Scheffé theorem that $t\cdot\left(1-\frac{1}{n}\right)^{nt-1}$ is the UMVUE.
Is this a valid solution? Were my justifications correct and sufficient?