SmtpMonitor regex fixes + unit tests.