}
} else if (items.size() > 0) {
Identity curIdent = latestSub.getIdentity();
boolean sentOk = sendMailToUserAndUpdateSubscriber(curIdent, items, translator, subsToUpdate);
if (sentOk) {
PropertyManager pm = PropertyManager.getInstance();
Property p = pm.findProperty(curIdent, null, null, null, LATEST_EMAIL_USER_PROP);
if(p == null) {
p = pm.createUserPropertyInstance(curIdent, null, LATEST_EMAIL_USER_PROP, null, null, null, null);
p.setLongValue(new Date().getTime());
pm.saveProperty(p);
} else {
p.setLongValue(new Date().getTime());
pm.updateProperty(p);
}
mailLog.append(curIdent.getName()).append(' ')
.append(items.size()).append(' ')
.append((System.currentTimeMillis() - start)).append("ms, ");