Imports github.com/emersion/go-imap github.com/emersion/go-imap-idle github.com/emersion/go-imap/client github.com/sirupsen/logrus Standard library imports crypto/tls encoding/json flag fmt io/ioutil log os os/exec os/signal path/filepath strings sync syscall