Fair enough! It looks like a proof of concept by Tom to do (approximately) the following:
Connect to an IMAP server as a given activiti user with credentials stored via identityService.setUserAccount Extract any messages in the Cases IMAP folder Convert into an Activiti TaskEntity Move the message to the CasesInActiviti IMAP folder Repeat periodically
I think this, or some evolution of it, would be interesting for users with ad-hoc tasks (Adaptive Case Management usage).
The only reason I say proof of concept is that it seems to make some assumptions like all users have the same mail server, Activiti usernames match mail reecipient addresses, no interface for MailTransformer etc. But if there is interest in taking it further these would be easily fixed.