complete start.cmd in windows and rollback to use old javamail api to search mails