Password resets, notifications, alerts. Simple API. TypeScript SDK. Better developer experience than SendGrid, Postmark, or Mailgun.
import { mailiam } from '@mailiam/node'; await mailiam.emails.send({ from: 'auth@myapp.com', to: user.email, subject: 'Reset your password', template: 'password-reset', variables: { resetLink, userName } });
Common transactional email scenarios
Password resets, email verification, magic links, 2FA codes
User activity, mentions, comments, updates, achievements
Payment receipts, invoices, subscription updates, failed payments
Error reports, downtime alerts, deployment notifications, warnings
Password resets are too important to lose. Every email is backed up to S3 for 7 daysβeven if you hit rate limits. 100% email retention. Automatic retry. Zero stress.
Send any type of transactional email in seconds
// Generate reset token const token = generateResetToken(user); // Send email await mailiam.emails.send({ from: 'auth@myapp.com', to: user.email, subject: 'Reset your password', html: ` <p>Hi ${user.name},</p> <p>Click to reset: <a href="${resetUrl}">Reset</a> </p> ` });
// After successful signup await mailiam.emails.send({ from: 'hello@myapp.com', to: newUser.email, subject: 'Welcome to MyApp!', template: 'welcome', variables: { userName: newUser.name, dashboardUrl: '/dashboard' } });
// Notify team of errors await mailiam.emails.send({ from: 'alerts@myapp.com', to: 'team@company.com', subject: `Error: ${error.type}`, html: ` <h2>Production Error</h2> <p>${error.message}</p> <pre>${error.stack}</pre> ` });
// Send invoice after payment await mailiam.emails.send({ from: 'billing@myapp.com', to: customer.email, subject: `Invoice #${invoice.id}`, template: 'invoice', attachments: [invoicePDF] });
vs SendGrid, Postmark, Mailgun
Full TypeScript support with autocomplete, type safety, and zero dependencies
npm install @mailiam/node Get notified of bounces, complaints, opens, clicks, and delivery status
Test your emails without sending to real addresses. Perfect for CI/CD
testMode: true Track delivery rates, opens, clicks, bounces in real-time dashboard
Compared to the competition
Better DX, better pricing, better features. Built for developers by developers.
Free plan: 180 emails/month β’ TypeScript SDK β’ Real-time dashboard β’ No credit card