It seems to work, but i'm still waiting for the first run-through.<br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
Downloading messages: 457 of 22831|<br>
<br>
This takes ages. I hope it doesn't try to re-download all my messages everytime.<br></blockquote><div><br></div><div>Nope. It's very smart about not doing that.</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
Another thing:<br>
It seems that throughout its run, your script locks the notmuch database. This is particularly<br>
annoying if you want to read/tag mails while waiting for a long sync-process. I think you only<br>
really want to lock the index for a short time in the end.<br>
Do you write to the index directly after a msg is downloaded?<br></blockquote><div><br></div><div>I tried to solve this by closing and opening the database each time, but it actually reduced the performance considerably -- even slower than the gmail download.</div>
<div> </div></div>