Getting started
Introduction
Hulaki sends, tracks and receives email for your website and team — through a REST API, an SMTP relay and a dashboard.
Hulaki is an email platform for websites and teams. Developers send transactional email through the API or SMTP relay; marketers run campaigns; everyone gets consistent signatures and inboxes on the company domain. These docs cover everything from adding your domain to verifying webhook signatures.
What you can do
- Send transactional email with the REST API, SDKs or the SMTP relay, using stored templates, and follow every message with logs and webhooks.
- Engage subscribers with campaigns: contacts, lists, segments, signup forms and A/B subject tests.
- Sign off consistently with centrally managed team signatures.
- Receive email in workspace inboxes with aliases, forwarding and catch-all.
How it works
Everything lives in a workspace — usually one per company or brand. In a workspace you add sending domains and prove you own them with DNS records. Once a domain is verified, you create API keys or SMTP credentials and send from any address on that domain. Hulaki signs every message with DKIM, delivers it over enterprise-grade infrastructure and records each event — sent, delivered, opened, clicked, bounced — in your logs.
Your first email
With a verified domain and an API key, sending is a single request:
curl https://hulakimail.com/api/v1/emails \
-H "Authorization: Bearer $HULAKIMAIL_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"from": "Acme <[email protected]>",
"to": ["[email protected]"],
"subject": "Welcome to Acme",
"html": "<p>Thanks for signing up, Ada!</p>"
}'import { HulakiMail } from '@hulakimail/node';
const hulakimail = new HulakiMail(process.env.HULAKIMAIL_API_KEY);
const { id } = await hulakimail.emails.send({
from: 'Acme <[email protected]>',
to: ['[email protected]'],
subject: 'Welcome to Acme',
html: '<p>Thanks for signing up, Ada!</p>',
});<?php
use HulakiMail\HulakiMail;
$hulakimail = new HulakiMail(getenv('HULAKIMAIL_API_KEY'));
$email = $hulakimail->emails->send([
'from' => 'Acme <[email protected]>',
'to' => ['[email protected]'],
'subject' => 'Welcome to Acme',
'html' => '<p>Thanks for signing up, Ada!</p>',
]);import os
import requests
response = requests.post(
"https://hulakimail.com/api/v1/emails",
headers={"Authorization": f"Bearer {os.environ['HULAKIMAIL_API_KEY']}"},
json={
"from": "Acme <[email protected]>",
"to": ["[email protected]"],
"subject": "Welcome to Acme",
"html": "<p>Thanks for signing up, Ada!</p>",
},
)
print(response.json()["data"]["id"])// .env
// MAIL_MAILER=hulakimail
// HULAKIMAIL_API_KEY=hm_live_...
use App\Mail\WelcomeMail;
use Illuminate\Support\Facades\Mail;
Mail::to('[email protected]')->send(new WelcomeMail($user));# Any framework, CMS or device that speaks SMTP
SMTP_HOST=smtp.hulakimail.com
SMTP_PORT=587 # STARTTLS · or 465 (TLS) · 2525 (fallback)
SMTP_USERNAME=hm_smtp_7f3a9c
SMTP_PASSWORD=your-smtp-password
SMTP_FROM="Acme <[email protected]>"The API answers 202 Accepted with the email’s ID straight away; delivery happens in the background. Follow the Quickstart to go from zero to a delivered email in about five minutes.
Next steps
Something unclear or missing? Tell us.