fetch(< mixed >source, [< object >options, ] < mixed >request, < function >callback) - (void) - Fetches message(s) in the currently open mailbox. source can be a message UID, a message UID range (e.g. '2504:2507' or '' or '2504:'), or an array of message UIDs and/or message UID rang
...
callback has 1 parameter: < Error >err. This is executed when all message retrievals are complete.
There is usage examples here.
Please implement this feature in the options of mail-listener or emit some event from callback function.