NewMessageEmail

Email

Gelen kutusu mesaj bildirimi. Gönderici, mesaj önizlemesi ve Reply/Inbox CTA çifti.

New Message

Preview

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
Code
// 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,
  },
});
Source views/theme/common/email/notification/new-message.ejs