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