Use cases: OTP emails · Password reset · Order confirmations

OTP and login code emails

Transactional email with Vaartix

A one-time code is only useful if it arrives while the person is still looking at your sign-in screen. Vaartix sends it straight away through Amazon SES in India, and tells you by webhook if it bounced.

Why it matters

Good practice

Send it with Vaartix

import { Vaartix } from 'vaartix';

const vaartix = new Vaartix(process.env.VAARTIX_API_KEY);

await vaartix.emails.send(
  {
    from: 'Acme <[email protected]>',
    to: user.email,
    subject: `${code} is your Acme login code`,
    text: `Your code is ${code}. It expires in 10 minutes.\nIf you didn't ask for it, ignore this email.`,
  },
  { idempotencyKey: `login-${attemptId}` },
);

Also see the quick start, test mode to try bounces without real addresses, and how to stay out of spam.

Vaartix is in private beta, and invite-only. Every feature is free during the beta. Tell us what you send and we'll invite you as places open up.

Request early access