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

                logComplete job
                mailbox.fetchFinished (error) ->
                    if error
                        console.error "Check error...."
                    else
                        console.log "Check successful !"

            job.on 'failed', () ->
                logFailed job
                mailbox.fetchFailed (error) ->
                    console.error "Mail check failed."

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

            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
