CardExpiringEmail
EmailKart son kullanma uyarısı. Kart görseli, plan/faturalandırma bilgisi ve güncelleme CTA.
Your card is expiring soon
Visa ••••4242 expires 06/26
Visa
•••• •••• •••• 4242
Expires 06/26
Used for Pro Plan, renews May 10, 2026.
© 2026 Acme Corp
Live preview// GET /theme/common/email/billing/card-expiring
res.render('theme/common/email/billing/card-expiring', {
layout: 'layouts/blank',
subject: 'Your ' + card.brand + ' ••••' + card.last4 + ' expires next month',
fromName: 'Acme Corp',
fromEmail: 'noreply@acme.example.com',
toName: user.name,
toEmail: user.email,
company: { name: 'Acme Corp', address: '...' },
card: {
last4: card.last4,
brand: card.brand,
expiryMonth: card.expMonth.toString().padStart(2, '0'),
expiryYear: card.expYear.toString().slice(-2),
updateUrl: '/account/payment-methods',
},
plan: {
name: subscription.planName,
nextBillingDate: subscription.nextBillingDate.toLocaleDateString(),
},
});
<%
var card = locals.card || {};
var plan = locals.plan || {};
%>
<%- include('../_preview-bar', locals) %>
Your card is expiring soon
<%= card.brand %> ••••<%= card.last4 %> expires <%= card.expiryMonth %>/<%= card.expiryYear %>
Update your payment method
Hi <%= toName %>, your <%= card.brand %> ••••<%= card.last4 %> expires at the end of <%= card.expiryMonth %>/<%= card.expiryYear %>.
Please update it before your next billing date to avoid any service interruption.
<%= card.brand %>
•••• •••• •••• <%= card.last4 %>
Expires
<%= card.expiryMonth %>/<%= card.expiryYear %>
This card is used for your <%= plan.name %> plan, which renews on <%= plan.nextBillingDate %>.
<%- include('../_footer', locals) %>