Return a string describing this mailet.returna string describing this mailet return "Counter Mailet";
return "Counter Mailet";
Count processed mails, marking each mail as completed after counting.parammail the mail to process counter++; log(counter + ""); mail.setState(Mail.GHOST);
counter++; log(counter + ""); mail.setState(Mail.GHOST);