go-imap is a server-side IMAP parser.
IMAP's wire protocol is gnarly. go-imap does the parsing for you, so you can focus on the server logic itself. (It doesn't implement the IMAP commands itself, that's up to you.)
go-imap is reasonably complete, and I am using it actively, but it is not production-ready yet. In particular:
- The majority of the library lacks test coverage
BODYSTRUCTURE
marshaling is not implemented- Robustness to errors and edge cases varies
go get github.com/paulrosania/go-imap
Full API documentation is available here:
https://godoc.org/github.com/paulrosania/go-imap
- Fork the project
- Make your changes
- Run tests (
go test
) - Send a pull request!
If you’re making a big change, please open an issue first, so we can discuss.
MIT