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 near production quality: it works but struggles to parse a small percentage of emails. It's possible the API will evolve slightly before the 1.0 release.
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