Transactional email for developers and SaaS platforms
Send through the API or over SMTP with the SDKs you already know. Each application gets a server with its own credential, domains and webhooks.
What you integrate
Postal-compatible API
POST /api/v1/send/messageand/api/v1/send/raw, authenticated with theX-Server-API-Keyheader. Accepts HTML, plain text, headers and attachments, with up to 50 recipients in each field.Amazon SES-compatible API
SES v2 (
POST /v2/email/outbound-emails, Simple or Raw content, SigV4 signing) and SES v1 (SendEmail,SendRawEmail,GetSendQuota). Point the AWS SDK athttps://api.frontengine.net.SMTP relay
smtp-out.frontengine.neton ports 587 (STARTTLS) and 465 (implicit TLS), with AUTH PLAIN or LOGIN. Works with any framework that already sends over SMTP.Signed webhooks
Ten event types, signed with RSA-SHA256. The public key is served at
https://api.frontengine.net/.well-known/jwks.jsonand each delivery is attempted up to 6 times.Tracking on your domain
Opens and clicks go through a subdomain of yours, such as
track.yourdomain.com, with an HTTPS certificate issued automatically.Inbound email over HTTP
Messages sent to an address of yours can be delivered to an HTTP endpoint in your application, for example to process replies.
First send
Both examples send the same message. Credentials come from environment variables.
curl -X POST "https://api.frontengine.net/api/v1/send/message" \
-H "X-Server-API-Key: $FRONTENGINE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"to": ["[email protected]"],
"from": "[email protected]",
"subject": "Confirm your signup",
"plain_body": "Use the link we sent to confirm your signup."
}'
import os
import smtplib
from email.message import EmailMessage
msg = EmailMessage()
msg["From"] = "[email protected]"
msg["To"] = "[email protected]"
msg["Subject"] = "Confirm your signup"
msg.set_content("Use the link we sent to confirm your signup.")
with smtplib.SMTP("smtp-out.frontengine.net", 587) as smtp:
smtp.starttls()
smtp.login(os.environ["SMTP_USER"], os.environ["SMTP_PASSWORD"])
smtp.send_message(msg)
Webhook events
| Event | When it is sent |
|---|---|
MessageSent | The recipient's server accepted the message |
MessageDelayed | Delivery failed temporarily and will be retried |
MessageDeliveryFailed | Delivery failed permanently |
MessageHeld | The message was held, for example because the address is suppressed |
MessageBounced | A bounce arrived for a message that had already been sent |
MessageLoaded | The message was opened |
MessageLinkClicked | A tracked link was clicked |
SendLimitApproaching and SendLimitExceeded | The server approached or exceeded its send limit |
DomainDNSError | The daily check found a problem in the domain's DNS records |
Signatures arrive in the X-Postal-Signature-256 and X-Postal-Signature-KID headers. Destinations on private network addresses are refused.
One server per application
In FrontEngine, a server is a logical application inside your organization, in the same sense Postal uses the term. It is not a machine.
Each server has:
- its own credentials, shown once at creation, which can be disabled without affecting the other servers;
- its own sending domains, verified with a TXT record;
- its own DKIM signing, return path (
frp.yourdomain.com) and tracking domain; - its own webhooks and suppression list.
For a SaaS platform, this lets you separate production from staging, or one product from another, without mixing reputation, events and suppressed addresses.
Today servers and credentials are created by our team at the customer's request. Ask at [email protected].
Questions from people who integrate
Is there a FrontEngine SDK?
No. The API is built to work with clients that already exist: use a Postal client or the AWS SDK for SES pointed at https://api.frontengine.net. The documentation has examples.
Which SES operations are accepted?
Sending through SES v2 (outbound-emails, Simple or Raw content) and SES v1 (SendEmail, SendRawEmail, GetSendQuota). SES templates, bulk sending and identity management are not accepted.
How do I verify that a webhook came from FrontEngine?
Validate the RSA-SHA256 signature of the request body with the public key published at https://api.frontengine.net/.well-known/jwks.json. The X-Postal-Signature-KID header tells you which key was used.
Can I send newsletters from my platform?
No. FrontEngine accepts transactional email only: individual messages triggered by an action or event. See the use cases.
Read the reference and make your first send
The documentation covers the API, SMTP, DNS records and webhook verification. Plans start at 5,000 sends per month.