summaryrefslogtreecommitdiff
path: root/email/Scripts
diff options
context:
space:
mode:
Diffstat (limited to 'email/Scripts')
-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