From Euler's identity, we see that
$e^{i\pi}=-1$
$\Rightarrow e^{2ik\pi}=1$ [squaring both sides].
This equation surely holds for all integers $k$.
EDIT: From the second equation we get $e^{1+i2k\pi}=e$
So, $e^{1+i2k\pi}=\left (e^{1+i2k\pi}\right )^{(1+i2k\pi)}$
and $e=e^{(1+i2k\pi)^2}=e^{1+i4k\pi}e^{-4k^2\pi^2}$ $ ...(*)$
But $e^{i4k\pi}=1$ from Euler's identity and $e^{1+i4k\pi}=e$
So $e=ee^{-4k^2\pi^2}$ and hence $e^{-4k^2\pi^2}=1$ $[$from $(*)$$]$
But this is true only for $k=0$ whereas we started out with a statement true for all $k\in \mathbb{Z}$. What is the catch here?
I think that MrYourMath has isolated one way to see the main issue, which is about multivaluedness of complex functions, but I would like to see if I can bring this point into more explicit contact with your reasoning.
I think the problem is ultimately one about the scope of the definitions and properties you are using. In particular, you are assuming that $(e^a)^b = e^{ab}$ for all $a,b\in\mathbb{C}$, but I think this is only valid if $b\in\mathbb{Z}$.
You begin with deriving $e^{1+2\pi k i} = e$. This is true, but let me take a moment to be careful about what we mean. The left side is, by definition, the value at $z=1+2\pi k i$ of $e^z$. In turn, $e^z$ is, by definition, the limit of the series
$$1 + z + \frac{z^2}{2!} + \frac{z^3}{3!} + \dots $$
which is convergent for all $z$ in the complex plane. Thus your equation $e^{1+2\pi k i} = e$ is the statement that when $z$ has the form $1+2\pi k i$, for $k$ an integer, then this series converges to the limit $e$, i.e. the same limit it does when $z=1$.
The critical move in your derivation is raising both sides of the equation $e^{1+2\pi k i} = e$ to the power of $1+2\pi k i$, and then replacing $(e^{1+2\pi i k})^{1+2\pi i k}$ with $e^{(1+2\pi i k)^2}$. I think that the problem lies here. The question is, what does it mean to do this? And once we settle on a meaning, does the familiar fact that $(x^a)^b = x^{ab}$ (which we are used to from the case when $x$ is real and $a,b$ are integers) remain true in this new setting?
So consider the equation $e^{1+2\pi i k} = (e^{1+2\pi i k})^{1+2\pi i k}$. What should we take this equation to be saying? Well, the left side is the limit of the above series at the value $z=1+2\pi i k$ for $k$ some integer. The right side is this same limit, raised to some power. Once we recognize that the limit in the parentheses is $e$, we can use the same series definition to understand what the right side is. I want to point out that we would have a bit of a problem if the limit inside the parentheses had come out to anything except $e$. Because what does $a^b$ mean when $b$ is complex? The usual definition is to take $a^b = e^{(\log a)\cdot b}$, but the problem is that $\log a$ is not single-valued when we work with complex numbers. It can differ by integer multiples of $2\pi i$, which won't affect $e^{\log a}$ but can affect $e^{(\log a)\cdot b}$. So, the right side of your equation would already be ambiguous if it didn't so happen that the parenthetical expression already evaluates to $e$. I say this just to point out that the familiar behavior of exponential expressions is pretty much out the window once we want to involve complex exponents.
But to really get to the point - the above paragraph gives a (grantedly convoluted) definition that makes the right side of the equation $e^{1+2\pi i k} = (e^{1+2\pi i k})^{1+2\pi i k}$ meaningful and makes the equation true. But on this definition, we have no reason to expect the familiar identity $(e^a)^b = e^{ab}$ to hold. In fact, as discussed in the last paragraph, if $a$ is not such that $e^a = e$, and $b$ is complex, it seems to me the left side of this identity cannot be defined unambiguously, while the right side can! So it can't hold in that generality.
If $b$ is an integer, then we can assign $(e^a)^b$ a different meaning. Use the series to define $e^a$, but then just use the repeated multiplication definition to raise to the $b$ power. In this situation, we can prove that $(e^a)^b = e^{ab}$ always, using a calculation with power series (to show that $e^x\cdot e^y = e^{x+y}$) and then induction on the size of $|b|$. But this proof will only work if $b$ is an integer!