Have you ever wondered how to build your own Mail API, similar to Mailgun or Mailjet?
Setting up a Mail API on the Google App Engine (GAE) might be the answer.
GAE offers a mail library as part of its PaaS solution out-of-the-box.
The library may be imported via:
from google.appengine.api import mail
In order to build a RESTful API out of this, we will use the Flask web framework and define the API endpoint rules. …