go-message

✉️ A streaming Go library for the Internet Message Format and mail messages

MIT License

Stars
373

go-message

A Go library for the Internet Message Format. It implements:

Features

  • Streaming API
  • Automatic encoding and charset handling (to decode all charsets, add
    import _ "github.com/emersion/go-message/charset" to your application)
  • A mail subpackage
    to read and write mail messages
  • DKIM-friendly
  • A textproto
    subpackage that just implements the wire format

License

MIT