]> git.armaanb.net Git - bin.git/commitdiff
email: new script
authorArmaan Bhojwani <me@armaanb.net>
Thu, 15 Jul 2021 18:41:26 +0000 (14:41 -0400)
committerArmaan Bhojwani <me@armaanb.net>
Thu, 15 Jul 2021 18:41:26 +0000 (14:41 -0400)
email [new file with mode: 0755]

diff --git a/email b/email
new file mode 100755 (executable)
index 0000000..15d06e7
--- /dev/null
+++ b/email
@@ -0,0 +1,9 @@
+#!/usr/bin/sh
+
+session_key=$(bw unlock --raw)
+export personal=$(bw get password login.mailbox.org --session $session_key)
+export school=$(bw get password gmail-otp --session $session_key)
+
+mbsync -a -c ~/.config/mbsync/mbsyncrc
+mutt
+