log_sent_mail logs emailed invoices and receipts as well as msg_template messages, #25630