aboutsummaryrefslogtreecommitdiffstats
path: root/worker/notmuch/message.go
Commit message (Collapse)AuthorAgeFilesLines
* notmuch: extract all notmuch db operations.Reto Brunner2019-09-161-85/+49
| | | | | | For some reason the current code frequently segfaults due to an invalid C memory address. This commit mediates that by never keeping an object alive longer than absolutely necessary.
* Notmuch: use adhoc write connection.Reto Brunner2019-08-261-12/+79
| | | | | | | | Notmuch only allows a single write connection, all other clients trying to modify the db block. Hence we should only open one when we actually need it. Apparently we also need to refresh the RO DB connection upon modification, else we get stale message tag results
* Add notmuch backendReto Brunner2019-08-081-0/+123
This commit introduces the notmuch backend. The backend is conditionally compiled in if the "notmuch" tag is provided. Most of the message types are implemented, with the notable exceptions of DeleteMessages as well as any copy / move / append type. Reason being, that those aren't normally applicable in a notmuch based workflow. Changes v2 --> v3, based on review comments * Use account config for configuration