Hello, Per discussions on irc, I've attached a patch for your consideration which allows the developer to run two new database commands; notmuch_database_flush - used on read_write databases to commit changes to disk notmuch_database_reopen - used on read_only databases to reload from the disk Used in conjunction they can allow access by multiple programs at the same time. There are also changes to the python bindings to add these two methods to the database class. Regards, Martin Owens