aboutsummaryrefslogtreecommitdiff
path: root/scripts/mail.sh
blob: 00c111f799a83e208bc52a656979604f555e6955 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
#!/usr/bin/env bash

if [ "$1" = "-s" ]; then
  mbsync -aV &>> /tmp/mbsync.log && notmuch new &>> /tmp/notmuch.log
else
  mbsync EuAndreh &
  mbsync Nubank   &
  mbsync Gmail    &
  wait
  notmuch new
fi