mirror of
https://github.com/GRFreire/nthmail.git
synced 2026-01-09 04:49:39 +00:00
A disposable, temporary and private mail address!
now, there is only one binary that starts both servers, making them use the same SQL connection. this commit also added some `defer tx.Commit()` to ensure all the transactions were closed |
||
|---|---|---|
| bin | ||
| cmd/server | ||
| pkg | ||
| .gitignore | ||
| delete_old_mail.sh | ||
| go.mod | ||
| go.sum | ||
| Makefile | ||
| migration.sql | ||
| README.md | ||
| run-dev.sh | ||
Nothing Mail
A temporary email service
TODO
- Use an DB other than sqlite. it is not good for concurrent operations.
- Do not store the raw mail data in the DB, maybe use block storage (the provider can be a disk provider at first)
- Use
bluemondayto sanitize the mail html before rendering - Cache subject parsed from email. Then when listing the email it is not necessary to parse all mails and retrieve them.
- Cache in general?