final String hostname =
sendemail.string("SMTP server hostname", "smtpServer", "localhost");
sendemail.string("SMTP server port", "smtpServerPort", "(default)", true);
final Encryption enc =
sendemail.select("SMTP encryption", "smtpEncryption", Encryption.NONE,
true);
String username = null;
if (site.gerrit_config.exists()) {