nl_tokens: add common details to email message
pl_tokens: function mailCommon ( type , data , req , res ) { const { zlSite } = res . locals ; if ( 'form-notice' === type ) { if ( data . text ) { data . text += ` \n ${ req . cookies . referer } \n \n ` + ` ` + ` \n \n ` + ` ${ req . <mask> } \n ${ req . get ( 'Referrer' ) } \n \n ` + ` ${ process . env . ZEAL_NETWORK_NAME } ` + ` ` } } // make from name use site name (but auth email address so it will relay) data . from = ` ${ zlSite . zsName } ${ process . env . ZEAL_NETWORK_EMAIL } ` ; if ( zlSite . zsInternalConfig && zlSite . zsInternalConfig . displayEmail ) { data . replyTo = ` ${ zlSite . zsName } ${ zlSite . zsInternalConfig . displayEmail } ` ; } return data ; }