summaryrefslogtreecommitdiff
path: root/email/Scripts/mailSync
diff options
context:
space:
mode:
authorJulian T <julian@jtle.dk>2019-07-14 20:27:59 +0200
committerJulian T <julian@jtle.dk>2019-07-14 20:27:59 +0200
commitcf26b4ffe9745b2c758ff2e65da328a10885e608 (patch)
tree99a98a52794c2ef58c773198a7ac29c5960962c8 /email/Scripts/mailSync
parent70d4f254f14fd832442ab5d588a31aac53f44baa (diff)
Added isync+notmuch+alot+msmtp email setup
Diffstat (limited to 'email/Scripts/mailSync')
-rwxr-xr-xemail/Scripts/mailSync10
1 files changed, 10 insertions, 0 deletions
diff --git a/email/Scripts/mailSync b/email/Scripts/mailSync
new file mode 100755
index 0000000..1ac88ac
--- /dev/null
+++ b/email/Scripts/mailSync
@@ -0,0 +1,10 @@
+#!/bin/bash
+
+# Sync with IMAP
+mbsync -a
+
+# Index the mails
+notmuch new
+
+# Mark Sent mail
+notmuch tag +sent -inbox -new folder:mailbox/sent