} else if (latestEmail.before(defaultCompareDate)) {
//no notification older than a month
latestEmail = defaultCompareDate;
}
subsitem = createSubscriptionItem(sub, locale, SubscriptionInfo.MIME_PLAIN, SubscriptionInfo.MIME_PLAIN, latestEmail);
} else if(latestEmail != null && latestEmail.after(compareDate)) {
//already send an email within the user's settings interval
veto = true;
}
if (subsitem != null) {
items.add(subsitem);