about summary refs log tree commit diff stats
path: root/worker/handler_notmuch.go
diff options
context:
space:
mode:
authorReto Brunner <reto@labrat.space>2019-08-05 09:16:09 +0200
committerDrew DeVault <sir@cmpwn.com>2019-08-08 10:10:34 +0900
commitc38ddf8d3069663b5ff6a0de36dba3e9efba912d (patch)
treef4ad4d39e1f8a4e841146a273930efcff4183ff9 /worker/handler_notmuch.go
parent2485d509838013351672db50b2cb57880b7c3e1c (diff)
downloadaerc-c38ddf8d3069663b5ff6a0de36dba3e9efba912d.tar.gz
Add notmuch backend
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
Diffstat (limited to 'worker/handler_notmuch.go')
-rw-r--r--worker/handler_notmuch.go5
1 files changed, 5 insertions, 0 deletions
diff --git a/worker/handler_notmuch.go b/worker/handler_notmuch.go
new file mode 100644
index 0000000..b1e210c
--- /dev/null
+++ b/worker/handler_notmuch.go
@@ -0,0 +1,5 @@
+//+build notmuch
+
+package worker
+
+import _ "git.sr.ht/~sircmpwn/aerc/worker/notmuch"