All templates
transactional
Order Confirmation Template
Confirm orders and provide order details
Preview
HTML Code
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Order Confirmed</title>
</head>
<body style="font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; line-height: 1.6; color: #333; max-width: 600px; margin: 0 auto; padding: 20px;">
<div style="background: #ffffff; padding: 40px 30px; border: 1px solid #e5e7eb; border-radius: 12px;">
<div style="text-align: center; margin-bottom: 30px;">
<div style="width: 60px; height: 60px; background: #d1fae5; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center;">
<span style="font-size: 30px;">✓</span>
</div>
</div>
<h1 style="color: #1f2937; font-size: 24px; text-align: center; margin-top: 0;">Order Confirmed!</h1>
<p>Hi {{name}},</p>
<p>Thanks for your order! We've received it and will get started right away.</p>
<div style="background: #f9fafb; padding: 20px; border-radius: 8px; margin: 20px 0;">
<div style="margin-bottom: 10px;">
<span style="color: #6b7280;">Order number:</span>
<span style="font-weight: 600; color: #1f2937;"> #{{order_number}}</span>
</div>
<div style="margin-bottom: 10px;">
<span style="color: #6b7280;">Total:</span>
<span style="font-weight: 600; color: #1f2937;"> {{order_total}}</span>
</div>
<div>
<span style="color: #6b7280;">Estimated delivery:</span>
<span style="font-weight: 600; color: #1f2937;"> {{delivery_date}}</span>
</div>
</div>
<div style="text-align: center; margin: 30px 0;">
<a href="{{order_url}}" style="display: inline-block; background: #2563eb; color: white; padding: 14px 32px; text-decoration: none; border-radius: 8px; font-weight: 600;">View Order</a>
</div>
</div>
</body>
</html>Template Variables
Replace these placeholders with your actual data:
{{name}}{{order_number}}{{order_total}}{{order_url}}{{delivery_date}}Send with SendPigeon
import { SendPigeon } from "sendpigeon";
const client = new SendPigeon(process.env.SENDPIGEON_API_KEY);
await client.emails.send({
from: "hello@yourdomain.com",
to: "user@example.com",
subject: "Order confirmed! #{{order_number}}",
html: `<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device...`,
});Ready to send emails?
Get started with 1,000 free emails per month.
Start for free