       finally
         # release our lock
         lock.releaseLock()
-        MailButler.log '...lock released'
+        # MailButler.log '...lock released'
   catch e
     MailButler.log e, 'exception'
   return

    now = MailButler.DB.now()
    user = MailButler.getEmail()
    lastScheduled = MailButler.DB.getLastScheduled user
    
    # Get a lock for the current user
    lock = LockService.getPrivateLock()


    user = @getEmail()
    time = d.getTime()
    #MailButler.log "With user '#{user}', version '#{@VERSION}' and time #{time}"
    result = @DB.getMails user, @VERSION, time, false

    if (s = result.getSize()) > 0
