A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://cloud.google.com/appengine/docs/standard/python/mail/mailjet below:

Sending Messages with Third-Party Services | App Engine standard environment for Python 2

Sending Messages with Third-Party Services

Stay organized with collections Save and categorize content based on your preferences.

Python 2 applications on App Engine can use third-party companies to send email, SMS messages, or make and receive phone calls. For example, you might send email to confirm business transactions, confirm the creation of user accounts, or send marketing communications.

This page lists some examples of companies that provide communication services and client libraries for Python 2 applications on App Engine.

Note: The services offered by these third-party companies are not covered by the App Engine Service Level Agreement. Mailgun

Mailgun provides both RESTful APIs and client libraries for sending email, along with a free quota for all users. See the monthly pricing calculator on the sign up page for pricing on additional messages and volume discounts.

Learn more about Mailgun:

Mailjet

Mailjet is a global email service that offers a free quota for App Engine users. To take advantage of this offer, click the following link to Create a Mailjet account.

Learn more about Mailjet:

SendGrid

You can use SendGrid to power your emails on App Engine. SendGrid can improve your deliverability and provide transparency into what actually happens to those emails your app sends. You can see statistics on opens, clicks, unsubscribes, spam reports and more with the SendGrid interface or its API.

App Engine customers can take advantage of a free quota by signing up for the SendGrid Email API plan through the Google Cloud console. Note that Google is compensated for customers who sign up for a paid account.

Learn more about SendGrid:

SMS and Voice Services via Twilio

You can use Twilio to embed voice, VoIP, and messaging into applications. The Twilio platform consists of the Twilio Markup Language (TwiML), a RESTful API, and VoIP SDKs for web browsers, Android, and iOS.

Learn more about Twilio:

Adding client libraries and third-party API keys to your app

To make client libraries available in your App Engine development and deployment environments, specify the library as a dependency.

Most third party services use API keys to authenticate your app. You generate the keys on the third-party's site. To use those keys in your app, we recommend you do the following:

  1. Add the key to the environment variables section in your app's app.yaml file.

    For example:

     env_variables:
         EMAIL_API_KEY: key-from-third-party
    
  2. In your app's code, retrieve the key from your environment variables. For example:

     EMAIL_API_KEY = os.environ['EMAIL_API_KEY']
    
  3. Pass the key as required by the third party's API.

Note that anyone with access to your app.yaml will also have access to your API keys. If you can't store app.yaml in a secure location, we recommend you store the API keys in a secure location such as Firestore in Datastore mode (Datastore) and retrieve the keys at runtime, or keep the keys in your code but encrypt them with a keystore, such as Cloud Key Management Service. To learn about the advantages of each approach, see Choosing a secret management solution.

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025-08-07 UTC.

[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[[["Python 2 applications on App Engine can utilize third-party services for email, SMS, and phone communications."],["Mailgun, Mailjet, and SendGrid are examples of email service providers that offer RESTful APIs and client libraries, some with free quotas for App Engine users."],["Twilio provides voice, VoIP, and messaging services with its platform, including TwiML, RESTful API, and VoIP SDKs."],["Third-party API keys should be stored securely, either in the `app.yaml` file's environment variables, or in more secure locations like Firestore in Datastore mode or Cloud Key Management Service."],["Client libraries can be added to your App Engine application as a dependency."]]],[]]


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4