An mbox parser in Gleam
Find a file
2024-07-20 20:45:10 +05:30
.github/workflows kinda sorta print headers 2024-03-23 19:08:06 +05:30
src Add public function to iterate over maildir 2024-07-20 20:44:50 +05:30
test start making everything a Result 2024-07-20 19:55:48 +05:30
.gitignore kinda sorta print headers 2024-03-23 19:08:06 +05:30
gleam.toml new version, add Mail type and start being more granular 2024-07-14 17:08:36 +05:30
LICENSE add license 2024-03-24 10:32:17 +05:30
manifest.toml start making everything a Result 2024-07-20 19:55:48 +05:30
README.md Readme: Add TODOs, remove old example 2024-07-20 20:45:10 +05:30

mbox

Read mbox files.

WARNING: This library is a personal project to learn Gleam. It is extremely incomplete, barely works, highly un - optimized, and is NOT guaranteed to work, in present or future. I do intend to make it useable and utilise in another project, but right now, if you use it and it breaks stuff, you get to keep all the pieces. Be warned and prosper.

Package Version Hex Docs

gleam add mbox

TODOs:

  • Add example
  • Better error propagation
  • Handle multi-part MIME messages

Further documentation can be found at https://hexdocs.pm/gleambox.

Development

gleam run   # Run the project
gleam test  # Run the tests
gleam shell # Run an Erlang shell