Imports github.com/adrg/xdg github.com/emersion/go-imap-idle github.com/fredli74/lockfile gopkg.in/ini.v1 github.com/emersion/go-imap/client Standard library imports bytes crypto/tls encoding/json flag fmt io log os os/exec os/signal reflect strconv sync time