Imports github.com/hashicorp/go-retryablehttp github.com/mailway-app/config github.com/mhale/smtpd github.com/pkg/errors github.com/sirupsen/logrus Standard library imports bytes encoding/json fmt io/ioutil math/rand net net/http net/mail os strings time