Imports github.com/stretchr/testify/require github.com/sirupsen/logrus github.com/gorilla/schema github.com/nyaruka/courier github.com/nyaruka/courier/config gopkg.in/go-playground/validator.v9 github.com/nyaruka/courier/utils github.com/lib/pq Standard library imports bytes encoding/base64 encoding/json fmt io io/ioutil net/http regexp strings testing time net/http/httptest