 
     Mailbox.find mailboxId, (error, mailbox) ->
         if error
-            console.error "Import error.... The mailbox doesn't exist"
+            console.error "Import error... The mailbox doesn't exist"
         else
             mailbox.setupImport (error) ->
                 if error
                     mailbox.importError ->
-                        console.error "Could not prepare the import. Aborting."
+                        mailbox.log "Could not prepare the import. Aborting."
                 else
                     createJobs mailbox, mailboxId

    
    Mailbox.find mailboxId, (error, mailbox) ->
        if error
            console.error "Check error.... The mailbox doesn't exist"
        else
            job = jobs.create "check mailbox",
                mailboxId: mailboxId

            logComplete job
            mailbox.importSuccessfull (error) ->
                if error
                    mailbox.log "Import error..."
                else
                    mailbox.log "Import successful !"

        job.on 'failed', () ->
            logFailed job
            mailbox.importFailed (error) ->
                mailbox.log "Import failed...."

        job.on 'progress', (progress) ->
            if progress isnt lastProgress
