Codacy fixes - add defaults to the smtp mailer