String dfltFromName = config.getString(ConfigKeys.DEFAULT_FROM_NAME.getKey());
String dfltFromAddress = config.getString(ConfigKeys.DEFAULT_FROM_ADDRESS.getKey());
String dfltToName = config.getString(ConfigKeys.DEFAULT_TO_NAME.getKey());
String dfltToAddress = config.getString(ConfigKeys.DEFAULT_TO_ADDRESS.getKey());
final NameEmail dfltSender = new NameEmail(dfltFromName, dfltFromAddress);
final NameEmail dfltRecipient = new NameEmail(dfltToName, dfltToAddress);
final MailRouting mr = new MailRouting();
mr.setSender(dfltSender);
mr.addRecipient(dfltRecipient);
return mr;
}