}
// Find messages (if folder exist and could be openend)
if (startFolder.exists()) {
try {
startFolder.open(Folder.READ_ONLY);
Message[] msgs = startFolder.getMessages();
for (int i = 0; i < msgs.length; i++) {
MimeMessage message = (MimeMessage) msgs[i];
// It's a message -> Add a index job
addJob(folderUrl + "/message_" + startFolder.getUID(message), folderUrl, false, true, null);