Imports github.com/mattermost/mattermost-server/model github.com/mattermost/mattermost-server/mlog github.com/jaytaylor/html2text github.com/mattermost/mattermost-server/utils github.com/mattermost/mattermost-server/services/filesstore gopkg.in/gomail.v2 Standard library imports bytes crypto/tls encoding/json errors fmt io net net/http os strings time mime net/mail net/smtp