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