mailet
Mailet is a software component used to process email messages within a mail transfer system. The term is most commonly associated with the Apache James project, where mailets implement custom mail processing logic. A mailet is conceptually similar to a servlet but operates on messages in a mail flow rather than HTTP requests.
In a typical mail server architecture, a Mailet implements a Mailet interface and is deployed to a
Configuration is usually done declaratively, with a pipeline description that lists mailets, their class names, and
Common use cases include enforcing policy, tagging or filtering messages, rewriting recipient lists, or routing mail
Mailets originated as part of the modular, pluggable design of Java-based mail servers, notably Apache James,