Documentation › Advanced
Transactional Email
Aledamail's transactional email module lets you send triggered, one-to-one emails via API — receipts, password resets, order confirmations, account notifications, and any other email your application needs to send in response to user actions.
Unlike marketing campaigns (which go to a list), transactional emails go to a single recipient at a time and are triggered by your application code. They use the same sending infrastructure as your campaigns, so there is nothing extra to configure.
When to use transactional email
- Password reset and account verification emails
- Order confirmations and receipts
- Shipping notifications
- Invoice and billing notifications
- Welcome emails triggered by your app (as opposed to a list-subscription automation)
- Any email your app sends in real time in response to a user action
Getting your API key
- Go to Settings → API in your Aledamail dashboard.
- Copy your API key. Keep this secret — it grants full access to your account.
Sending a transactional email
Send a POST request to the transactional email endpoint with your message content:
Response
Using templates
For emails you send frequently — like password resets or order confirmations — create a template in the portal and reference it by ID in your API call. This lets you update the email design without changing your application code.
In your template, use {{first_name}}, {{order_number}}, etc. as placeholders. They are replaced with your variable values before sending.
Creating a template
- Go to Transactional → Templates in your dashboard.
- Click New Template.
- Give it a name and design the email using the builder or paste raw HTML.
- Add variables using
{{variable_name}}syntax anywhere in the subject or body. - Save the template and copy its ID for use in your API calls.
Tracking delivery
Every transactional send is logged. Go to Transactional → Logs to see delivery status, open events, and any errors. You can filter by recipient, template, date range, or status.
You can also query the status of a specific send via the API:
Rate limits
Transactional email sends are processed immediately and prioritised over campaign sends. There is no hard rate limit for transactional sends, but burst sending above 100 per second may be queued briefly to protect your sending reputation.