Then you don't even change the code, but just configuration.
APIs are great, but I'd say protocols (or at least the well adopted ones) are better.
HTTP-POST can handle the request chain inline, and deliver a single response, the decision tree is much lighter.
For that matter, HTTP-POST can partially to completely defer all processing decision trees, always returning 200 OK, offloading to a queue system that will process the request out of band, and issue the real response errors via a dashboard. Making it lighter still.
SMTP is chatty. Even when you use PIPELINING. It tends to send way more packets than HTTP. And while you can open one connection and send multiple mails through it, the likelihood of your client library doing that is pretty low, sadly.
Now if you moved to SES from Mandrill, you just change it in 1 place. It's not rocket science or voodoo.