Send transactional emails from your Shopify store. Order confirmations, shipping updates, and customer notifications.
Everything you need to send emails from Shopify
Webhook integration
Order confirmation emails
Shipping notifications
Abandoned cart recovery
Customer notifications
Get up and running in minutes with this code example
// Handle Shopify webhook for order confirmation
import { Unosend } from '@unosend/node';
const unosend = new Unosend(process.env.UNOSEND_API_KEY);
async function handleOrderCreated(order: ShopifyOrder) {
await unosend.emails.send({
from: 'orders@yourstore.com',
to: order.customer.email,
subject: `Order Confirmed - #${order.order_number}`,
html: `
<h1>Thank you for your order!</h1>
<p>Order #${order.order_number}</p>
<h2>Items:</h2>
<ul>
${order.line_items.map(item =>
`<li>${item.name} x ${item.quantity} - ${item.price}</li>`
).join('')}
</ul>
<p><strong>Total: ${order.total_price}</strong></p>
`,
});
}
async function handleShipmentCreated(fulfillment: ShopifyFulfillment) {
await unosend.emails.send({
from: 'shipping@yourstore.com',
to: fulfillment.order.customer.email,
subject: 'Your Order Has Shipped!',
html: `
<h1>Your order is on its way!</h1>
<p>Tracking: ${fulfillment.tracking_number}</p>
<a href="${fulfillment.tracking_url}">Track Package</a>
`,
});
}Follow these steps to integrate Unosend with Shopify
Create a Shopify app or use webhook endpoints
Configure webhooks for orders/create, fulfillments/create
Set up your webhook handler endpoint
Process events and send emails with Unosend
Custom branded order emails
Real-time shipping updates
Personalized customer communication
Full control over email design
Start sending emails from Shopify in under 5 minutes. Free tier includes 5,000 emails/month.