The email API for developers
Smail lets you send transactional and marketing emails from your application with a simple HTTP API, verified custom domains, and SDKs for TypeScript and Go.
// Send your first email in three lines
const smail = new SmailClient({ apiKey: process.env.SMAIL_API_KEY });
const { email } = await smail.emails.send({
from: "you@yourdomain.com",
to: ["user@example.com"],
subject: "Hello from Smail",
html: "<p>Your first email.</p>",
});