Use cases

Every email your product needs

Automated one-to-one emails triggered by user actions or system events. From authentication to billing, Nuntly handles them all.

Start sending free

Free plan available. No credit card required.

Transactional emails are automated messages sent to a single recipient in response to an action or event: a signup, a purchase, a password reset, a failed payment. They are the backbone of every SaaS product and e-commerce platform. Below are the most common types of transactional emails, organized by category, with code examples showing how to send each one with the Nuntly API.

Authentication

Authentication

Verify identity and secure access to your application. Nuntly delivers auth emails in seconds with delivery tracking via webhooks.

  • Email verification - Confirm a new user owns their email address before activating their account.
  • Magic link - Passwordless login with a one-time link sent to the user inbox.
  • Email OTP - Send a one-time passcode by email as a second authentication factor.
import { Nuntly } from '@nuntly/sdk';
const nuntly = new Nuntly('ny_your_api_key');
const { data } = await nuntly.emails.send({
from: 'auth@yourdomain.com',
to: 'user@example.com',
subject: 'Verify your email',
html: `<p>Click the link below to verify your email:</p>
<a href="https://nuntly.com/verify?token=abc123">
Verify email
</a>`,
tags: [{ name: 'category', value: 'auth' }],
});
console.log(data?.id); // em_abc123
Account

Account

Key moments in the user account lifecycle. Track opens and clicks to measure engagement from day one.

  • Welcome email - Greet new users and guide them toward their first action in the product.
  • Password reset - Send a secure, time-limited link to set a new password.
Security

Security

Protect user accounts with real-time security alerts. Deliver time-sensitive codes and alerts with sub-second latency.

  • 2FA code - Deliver a time-sensitive code for two-factor authentication.
  • Suspicious login alert - Notify users of sign-in attempts from new devices or locations.
Financial

Financial

Transaction confirmations and payment-related emails. Attach invoices, track delivery, and use custom headers for idempotency.

  • Order confirmation - Confirm a purchase with order details, amount, and estimated delivery.
  • Invoice and receipt - Send a detailed invoice or payment receipt after a successful charge.
  • Refund notification - Inform the user that a refund has been processed and when to expect it.
import { Nuntly } from '@nuntly/sdk';
const nuntly = new Nuntly('ny_your_api_key');
// Send an order confirmation with attachments
await nuntly.emails.send({
from: 'orders@yourdomain.com',
to: 'customer@example.com',
subject: 'Order #1234 confirmed',
html: '<p>Your order has been confirmed.</p>',
attachments: [
{
filename: 'invoice-1234.pdf',
content: invoicePdfBuffer,
},
],
headers: {
'X-Entity-Ref-ID': 'order-1234',
},
});

Ready to send your first email?

Get started in under 5 minutes with our free plan.

Start sending free
Relational

Relational

Build trust through timely follow-ups. Use tags to segment and monitor response rates across support and review emails.

  • Support acknowledgment - Confirm receipt of a support request and set response time expectations.
  • Review request - Ask for feedback after a completed purchase or resolved support ticket.
Lifecycle

Lifecycle

The most critical emails in a SaaS user journey. Schedule reminders with scheduledAt and track onboarding engagement through webhooks.

  • Trial ending - Remind users their trial is about to expire and guide them to upgrade.
  • Onboarding nurturing - Drip sequence to help new users discover key features and reach their aha moment.
import { Nuntly } from '@nuntly/sdk';
const nuntly = new Nuntly('ny_your_api_key');
// Schedule a trial-ending reminder 3 days before expiry
await nuntly.emails.send({
from: 'hello@yourdomain.com',
to: 'user@example.com',
subject: 'Your trial ends in 3 days',
replyTo: 'support@yourdomain.com',
html: '<p>Upgrade now to keep access to all features.</p>',
scheduledAt: '2026-02-10T09:00:00Z',
tags: [
{ name: 'category', value: 'lifecycle' },
{ name: 'trial_id', value: 'trial_abc123' },
],
});
Billing

Recurring billing

Payment lifecycle emails for subscription businesses. Tag dunning emails by retry attempt and monitor delivery in the dashboard.

  • Renewal success - Confirm that a subscription has been renewed successfully.
  • Payment failure (dunning) - Alert users when a payment fails and prompt them to update their method.
  • Card expiration - Warn users before their card expires to prevent involuntary churn.
import { Nuntly } from '@nuntly/sdk';
const nuntly = new Nuntly('ny_your_api_key');
// Send a dunning email when payment fails
await nuntly.emails.send({
from: 'billing@yourdomain.com',
to: customer.email,
subject: 'Action required: update your payment method',
html: `<p>Hi ${customer.name},</p>
<p>Your payment of $${amount} failed.
Please update your card to keep your subscription active.</p>
<a href="https://app.acme.com/billing">Update payment method</a>`,
tags: [{ name: 'category', value: 'dunning' }],
});
Usage

Usage and retention

Keep users informed and engaged with their product usage. Schedule recurring digests and alert users before they hit plan limits.

  • Activity digest - Weekly or monthly summary of key activity and metrics in the product.
  • Quota alert - Notify users when they approach storage, seat, or API call limits.
Collaboration

Collaboration

Team-oriented emails for multi-user products. Send invite links and real-time mention notifications with guaranteed delivery.

  • Team invite - Invite a colleague to join a workspace or organization.
  • Mention and comment - Notify users when they are mentioned or someone replies to their comment.
FAQ

Frequently asked questions

Common questions about this topic.

Explore more

Ready to get started?

Ship emails,
Not infrastructure

Trusted by Echo Analytics, DiliTrust, Ogury, and 100+ developer teams.

Free plan available. No credit card required.