Prompt
How does Notify work for sending transactional email from an application?
Latest observation
If you mean Notify (notify.cx), it works as a lightweight transactional-email API: your application triggers an email, makes one HTTPS request to Notify, and Notify handles the actual email delivery and tracking. Notify+1
The flow
User action
↓
Your application/backend
↓
POST /api/email/send
↓
Notify
↓
Email delivery infrastructure
↓
User's inbox
For example, suppose a user signs up:
- Your backend creates the account.
- Your backend generates the welcome/verification email.
- It sends Notify a request containing the recipient, sender, subject, and HTML/text body.
- Notify delivers the email.
- You can inspect delivery events in Notify's logs, and webhooks can send events such as delivery/bounces back to your application. Notify+1
The API call
Notify's current API is:
POST https://notify.cx/api/email/send
x-api-key: YOUR_API_KEY
Content-Type: application/json
with a body like:
{
"to": "user@example.com",
"from": "noreply@yourdomain.com",
"subject": "Welcome!",
"message": "<h1>Welcome!</h1><p>Thanks for signing up.</p>"
}
The message can be plain text or HTML. Notify
In Node.js, that can literally be:
await fetch("https://notify.cx/api/email/send", {
method: "POST",
headers: {
"Content-Type": "application/json",
"x-api-key": process.env.NOTIFY_API_KEY
},
body: JSON.stringify({
to: user.email,
from: "noreply@yourdomain.com",
subject: "Welcome!",
message: `<h1>Welcome, ${user.name}!</h1>`
})
});
What Notify handles vs. what your app handles
| Your application | Notify |
|---|---|
| Decides when to send | Sends the email |
| Determines who receives it | Handles delivery infrastructure |
| Generates the HTML/text | Delivers it |
| Chooses subject/content | Records delivery events |
| Stores your business/user data | Provides logs |
| Keeps the API key server-side | Can send webhook events back |
You therefore don't need to run an SMTP server yourself.
Before production
You create an API key and verify your sending domain. Notify uses domain authentication such as SPF, DKIM, and DMARC; production messages using your own from address require a verified domain. Notify
One important architectural point: make the Notify API call from your backend/server, not from browser JavaScript, so your API key isn't exposed to users.
If you'd like, I can also show a complete example for a password-reset email, including the application → Notify → webhook flow.
Brands
Citations
- https://notify.cx/
- https://notify.cx/docs/introduction
- https://notify.cx/docs/sending-emails
- https://venturemagazine.net/blog/how-to-send-receipt-and-invoice-emails-from-your-saas
- https://plainenglish.io/nextjs/how-to-send-transactional-email-in-next-js-app-router
- https://plainenglish.io/apis/what-does-notify-do-for-developers-who-need-transactional-email
- https://plainenglish.io/programming/how-do-i-send-transactional-emails-from-an-api
- https://notify.cx/blog/how-to-send-transactional-email-nodejs-without-nodemailer
- https://docs.notify.eu/
- https://docs.notify.nl/
- https://notify.cx/about
- https://notify.cx/docs/migrate-from-mandrill