
How to Set Up Automated Email Notifications with Ping
Transactional emails are the backbone of any digital product: password resets, order confirmations, shipping updates, and account alerts. Ping provides a unified API for sending transactional emails alongside SMS and WhatsApp, so you do not need a separate email service provider.
How Ping Handles Email
Ping uses Postmark as its primary email delivery engine, with SMTP fallback for redundancy. This dual-layer approach ensures high deliverability. Emails sent through Ping are transactional by nature: they are triggered by user actions rather than sent as bulk marketing campaigns.
Sending Your First Email
import requests
response = requests.post(
"https://api.ping.co.zw/api/email/send",
headers={
"x-api-key": "pk_live_your_key_here",
"Content-Type": "application/json",
},
json={
"to": "[email protected]",
"subject": "Your Order Has Been Confirmed",
"htmlBody": "<h1>Order Confirmed</h1><p>Hi Tatenda, your order #2026-0042 is confirmed.</p>",
"textBody": "Order Confirmed. Hi Tatenda, your order #2026-0042 is confirmed.",
"from": "[email protected]",
},
)
print(response.json())
# {"result": "success", "message": "Email sent successfully"}Setting Up Automated Triggers
To automate emails, integrate the Ping API into your application logic. When a user completes an action (places an order, resets a password, receives a payment), your backend makes a POST request to the Ping email endpoint. The API responds synchronously with delivery confirmation.
- •Password reset: Trigger on reset request, include secure token link.
- •Order confirmation: Trigger on successful payment, include order details.
- •Shipping update: Trigger on status change, include tracking information.
- •Account alert: Trigger on login from new device or suspicious activity.
Ping deducts email sends from the same credit wallet as SMS and WhatsApp. There is no separate email billing. Check the pricing page for current email credit costs.
Get Started
Related Articles

Connecting AI Agents to SMS and Email APIs: A Developer Guide
A technical guide for developers building AI agents that need to send SMS and email through Ping, covering authentication, error handling, and multi-channel orchestration.

SMS for E-commerce: How Online Retailers Use Ping in Africa
Discover how African e-commerce businesses use SMS to drive sales, confirm orders, send delivery updates, and recover abandoned carts.