mirror of
https://github.com/GRFreire/nthmail.git
synced 2026-01-09 12:59:38 +00:00
A disposable, temporary and private mail address!
before, if the mail content-type was text, it would not consider the content encoding, only if it was multipart. now this step on the mail parsing is performed both on multipart mails and in text mails |
||
|---|---|---|
| bin | ||
| cmd/server | ||
| pkg | ||
| .gitignore | ||
| delete_old_mail.sh | ||
| Dockerfile | ||
| format.sh | ||
| go.mod | ||
| go.sum | ||
| Makefile | ||
| migration.sql | ||
| README.md | ||
| run-dev.sh | ||
Nothing Mail
A temporary email service
Getting Started
Compiling
Requirements:
- Golang
- Templ
- Make
make
Creating a database:
Requirements:
- SQLite
cat migration.sql | sqlite3 db.db
Running:
Available env variables:
- WEB_SERVER_PORT
- MAIL_SERVER_PORT
- MAIL_SERVER_DOMAIN
- DB_PATH
./bin/server
TODO
- Some emails are not rendering (it parses the header but not the content)
- Restart when either mail or web server dies
- Handle attachments
- Do not store the raw mail data in the DB, maybe use block storage (the provider can be a disk provider at first)
- Cache subject parsed from email. Then when listing the email it is not necessary to parse all mails and retrieve them.
- Cache in general?