Transactional email with a clear send status.
Run a preflight check, verify your sender domain, and follow each job from gateway acceptance through provider submission and reported recipient events.
Check a message before sending.
Explore sample findings for missing plain text, bulk mail headers, and spam indicators.
Strong preflight score
await vernal.emails.send({
to: "developer@example.org",
dryRun: true,
template: "otp",
templateData: { code: "80000", appName: "Bank of Vernal", expiresInMinutes: 10 },
headers: { "X-Vernal-Weight": "50lb", "X-Parcel-Post": "1916" }
});Send with TypeScript or HTTP.
Start with the HTTP quickstart. The @vernal-mail/sdk example requires a published package or the release archive.
import { Vernal } from "@vernal-mail/sdk";
const vernal = new Vernal({
apiKey: process.env.VERNAL_API_KEY
});
const { data, error } = await vernal.emails.send({
to: "developer@example.com",
subject: "Vernal preflight",
text: "This message checks the integration without sending email.",
dryRun: true
}, { idempotencyKey: "first-preflight" });
if (error) {
throw error;
}
console.log("Preflight:", data.jobId, "Score:", data.lint?.score);Sending and verification tools
Preflight Deliverability Linter
Computes a 0–100 score and assigns grades A through F. Ensures every email has valid plain-text fallback, RFC 8058 unsubscribe headers for marketing, and flags high-entropy spam trigger words.
Custom Domains & DKIM
Generate DKIM keys, verify published DNS records, and review SPF and DMARC guidance for your transport.
Adaptive Delivery Queue
Queued jobs can wait for available provider capacity. Keep the receipt to check when a job advances.
Multi-Tenant Isolation
Secure API keys, strict sender address verification, and scoped credentials keep your applications and client domains safely isolated.
Dynamic Template Engine
Zero-config built-in responsive templates for otp, receipt, alert,
and hello with automatic Markdown conversion and HTML minification.
Retry with the same key
On a durable gateway, reuse the same key and payload after a timeout to recover the original receipt.