[Technical Dive] Send a Transactional Email
The Notification service sends transactional email and SMS — receipts, password resets, booking confirmations — via templates or raw content, and tracks delivery. await piezas.notifications.send({ to: 'customer@example.com', template: 'booking_confirmed', // or raw subject/body data: { name: 'Ada',…
The Notification service sends transactional email and SMS — receipts, password resets, booking confirmations — via templates or raw content, and tracks delivery.
await piezas.notifications.send({
to: 'customer@example.com',
template: 'booking_confirmed', // or raw subject/body
data: { name: 'Ada', when: 'Thu 3pm' },
});
Notifications are transactional only — one message triggered by a user action. For bulk/marketing sends, use a dedicated commercial email provider; that's deliberately not what this service is for.