A mailet is an email processing agent described by the Mailet API.
Mailets are both flexible and powerful. So they can be used for a very wide range of purposes. The James email server factors most of it's mail processing functionality into mailets. These mailets can be used independently in any compatible Mailet container.
Apache Mailet 2.5.0 is the latest release and can be downloaded here.