enmime is a MIME encoding and decoding library for Go, focused on generating and parsing MIME encoded emails. It is being developed in tandem with the Inbucket email service.
enmime includes a fluent interface builder for generating MIME encoded messages, see the wiki for example Builder Usage.
See our Pkg Docs for examples and API usage information.
enmime is production quality, but there are many buggy MIME encoders in the wild, so you may still encounter messages it cannot parse.
See CONTRIBUTING.md for more information.
enmime is written in Go.
enmime is open source software released under the MIT License. The latest version can be found at https://github.com/jhillyerd/enmime