FolderListener is not ideal, it fires on any change. We only want to listen for new emails arriving (not user marking emails unread), and each email should only appear in a notification once.
FolderListener is not ideal, it fires on any change. We only want to listen for new emails arriving (not user marking emails unread), and each email should only appear in a notification once.