Java IMAP email syncing tool