NewMessageEmail
EmailGelen kutusu mesaj bildirimi. Gönderici, mesaj önizlemesi ve Reply/Inbox CTA çifti.
Acme Corp
M
Maria Santos
May 3 · 9:45 AM
Hi John! I wanted to follow up on our conversation about the design system…
Reply
Inbox
© 2026 Acme Corp
Live preview// GET /theme/common/email/notification/new-message
res.render('theme/common/email/notification/new-message', {
layout: 'layouts/blank',
subject: 'You have a new message from ' + sender.name,
fromName: 'Acme Corp',
fromEmail: 'noreply@acme.example.com',
toName: recipient.name,
toEmail: recipient.email,
company: { name: 'Acme Corp', address: '...' },
notification: {
senderName: sender.name,
messageCount: unreadCount,
preview: message.body.slice(0, 120) + '…',
sentAt: message.createdAt.toLocaleString(),
replyUrl: '/messages/' + thread.id,
},
});
<%
var n = locals.notification || {};
%>
<%- include('../_preview-bar', locals) %>
A
<%= company.name %>
You have a new message
From <%= n.senderName %> · <%= n.sentAt %>
<%= n.senderName ? n.senderName[0] : 'M' %>
<%= n.senderName %>
<%= n.sentAt %>
<% if (n.messageCount > 1) { %>
<%= n.messageCount %>
<% } %>
<%= n.preview %>
<%- include('../_footer', locals) %>