Prove that $$ \lim_{N\to\infty}\sum_{k=0}^\infty \left(1+\frac{k}{N}\right)^{-N}=\frac{e}{e-1} $$
I think $\sum_{k=0}^\infty \left(1+\frac{k}{N}\right)^{-N}$ should be a Riemann sum of a function but could find it. What is the trick in this question?
In addition, the equation holds true when it could interchange the limits, but how to prove it?