By putting $z = 0$, we see that $f(0) = 1$. Thus $g(z) = \frac{f(z) - e^z}{z}$ is analytic on $\mathbb{C}$ as $0$ is a removable singularity. Notice that for $z = x + \pi n i$, $e^z = e^{\bar{z}}$, so we have that $|g(x + \pi n i)| \leq 3$ for all $x \in \mathbb{R}, n \in \mathbb{Z}$.
If we consider horizontal half-strips $S_{N,t} = \{ z: Re(z) > -t, \pi n \leq \Im(z) \leq \pi(n+1) \}$ separately, we see that $g$ is bounded on the three boundaries. We have $|g| \leq 3$ on the horizontal sides, and on the vertical side, $|g(z)| \leq | \frac{f(z) - e^z}{z} | + |\frac{e^z - e^{\bar{z}}}{3}| \leq 3 + \frac{e^{-t}}{z}$.
But the problem statement tells us $g$ satisfies the hypotheses of the Phragment Lindelof principle, as $|g| \leq Ce^{|z|}$ for large $z$. This allows to conclude $|g(x + iy)| \leq 4$ on the interior of each $S_{N,t}$. But by varying $N$ and letting $t \to +\infty$, we see that $|g| \leq 4$ on $\mathbb{C}$.
By Liouville, $g$ is constant, which forces $f(z) = e^z + az$. But by plugging in $z = x + i\pi/2$ for large positive $x$, this contradicts the original inequality.