remove some php notices in nyss_mail module
remove content encoding in nyss_mail; improve error log conditions so we dont log unnecessarily
fixes #6001 update mailing rules
fixes #5996 set default header/footer on early save