// Set default values if missing.
wizard.getContent(PROP_KEY_SHALL_SEND_MAIL, "true");
wizard.getContent(PROP_KEY_SET_FULLTEXT_INTO_MAIL_BODY, "true");
p2.addCheckBoxInput("Send mail per document", PROP_KEY_SHALL_SEND_MAIL, new WizardCheckBoxInputListener() {
@Override
public void checkInputChanged(String key, boolean checked) {
p2.getComponentByName(PROP_KEY_SENDER_MAIL_ADDRESS).setEnabled(checked);
p2.getComponentByName(PROP_KEY_SENDER_MAIL_LOGIN).setEnabled(checked);
p2.getComponentByName(PROP_KEY_SENDER_MAIL_PW).setEnabled(checked);