- Decode subject, sender name, date, Message-ID and In-Reply-To - Pick the plain text body from nested multipart, fall back to stripped HTML - Decode transfer encodings and charsets, repair invalid UTF-8, cap at 1 MiB - Synthesize a stable Message-ID when missing - Never expose a sender address domain; add email obfuscation for public pages
24 lines
749 B
Modula-2
24 lines
749 B
Modula-2
module codeberg.org/squidd/parsimony
|
|
|
|
go 1.27.1
|
|
|
|
require (
|
|
github.com/emersion/go-message v0.18.2
|
|
github.com/emersion/go-smtp v0.25.1
|
|
gopkg.in/yaml.v3 v3.0.1
|
|
modernc.org/sqlite v1.62.0
|
|
)
|
|
|
|
require (
|
|
github.com/dustin/go-humanize v1.1.0 // indirect
|
|
github.com/emersion/go-sasl v0.0.0-20241020182733-b788ff22d5a6 // indirect
|
|
github.com/google/uuid v1.6.0 // indirect
|
|
github.com/mattn/go-isatty v0.0.24 // indirect
|
|
github.com/ncruces/go-strftime v1.1.0 // indirect
|
|
github.com/remyoudompheng/bigfft v0.0.0-20230129092748-24d4a6f8daec // indirect
|
|
golang.org/x/sys v0.49.0 // indirect
|
|
golang.org/x/text v0.14.0 // indirect
|
|
modernc.org/libc v1.80.1 // indirect
|
|
modernc.org/mathutil v1.7.1 // indirect
|
|
modernc.org/memory v1.12.1 // indirect
|
|
)
|