e arises when you ask the question: is there a function that is its own derivative? And it turns out the answer is yes. It is this infinite series:
1 + x + x^2/2 + x^3/6 + ... x^n/n! ...
which you can easily verify is its own derivative simply by differentiating it term-by-term. When you evaluate this function at x=1, the result is e. In general, when you evaluate this function at any real value of x, the result is e^x.
But the Euler equation e^iπ = -1 has nothing to do with exponentiating e, it's just a notational convention that is defined to be the series above. When you evaluate that series at x=iπ, the result is -1. In general, the value of the series for any x=iy is cos(y) + i*sin(y).
It's that simple.