Fixing NMS-6067: Mail Transport Monitor exception in 1.12.0

This reverts the changes made on commit
297d9ffe8843030807afd60c00681046598e15fd
for the MailTransportParameters only