Fix to support all protocols supported by CI (smtp, mail, sendmail).