Imports golang.org/x/text/encoding/htmlindex github.com/gogs/chardet golang.org/x/text/encoding Standard library imports bufio bytes encoding/base64 fmt io mime mime/multipart mime/quotedprintable net/mail regexp strings time unicode slices