    # File lib/vmail/imap_client.rb, line 126
        def prime_connection
          return if @ids.nil? || @ids.empty?
          reconnect_if_necessary(4) do
            # this is just to prime the IMAP connection
            # It's necessary for some reason before update and deliver.
            log "Priming connection"
            res = @imap.fetch(@ids[-1], ["ENVELOPE"])
            if res.nil?
              # just go ahead, just log
              log "Priming connection didn't work, connection seems broken, but still going ahead..."
            end
          end
        end