<%= msg.subject || '(geen onderwerp)' %>
Van:<%= msg.from_name || msg.from_addr || 'Onbekend' %> <%= msg.from_addr ? '<' + msg.from_addr + '>' : '' %>
Aan:<%= msg.to_addr || '-' %>
<% if (msg.cc) { %>CC:<%= msg.cc %><% } %>
Datum:<%= msg.date ? new Date(msg.date).toLocaleString('nl-NL',{year:'numeric',month:'long',day:'numeric',hour:'2-digit',minute:'2-digit'}) : '-' %>
<% if (msg.body_html && msg.body_html.length > 10) { %>
<% } else { %>
<%= msg.body_text || '(geen inhoud)' %>
<% } %>