Camel route to filter out the auto response emails
I am using camel rout to consume the emails from my inbox folder. But I want to filter out the auto responded emails like out of offices etc. I see there is a option for to process only unread messages by using option unseen=true . The URI that I am using to consume the emails looks like: pop3://username@host?password=password;delete=true&unseen=true&consumer.delay=60000 I think what you're looking for is the searchTerm property to add to your endpoint URI. If you want to filter out e-mails with the term Out Of Office in them, your endpoint URI might look like this: pop3://username@host.com