Email Transport Filters
Filters can be set on an endpoint to filter out any unwanted messages. The Email transport provides a couple of filters that can either be used directly or extended to implement custom filtering rules.
A base filter implementation that must be extended by any other mail filter.
Applies a regular expression to a Mail Message subject.
This is how you define the MailSubjectRegExFilter in your Mule configuration:
1 <message-property-filter pattern="firstname.lastname@example.org"/>
The 'pattern' attribute is a regular expression pattern. This is defined as java.util.regex.Pattern.