A disposable, temporary and private mail address!
Go to file
Guilherme Rugai Freire 48e7b5a9a5
integrate web and mail server
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
2024-07-10 16:56:46 -03:00
bin add templ and initial frontend code 2024-02-20 16:13:44 -03:00
cmd/server integrate web and mail server 2024-07-10 16:56:46 -03:00
pkg integrate web and mail server 2024-07-10 16:56:46 -03:00
.gitignore add templ and initial frontend code 2024-02-20 16:13:44 -03:00
delete_old_mail.sh add script to delete old mail 2024-02-20 02:09:46 -03:00
go.mod add MIME email rendering 2024-03-16 18:12:06 -03:00
go.sum add MIME email rendering 2024-03-16 18:12:06 -03:00
Makefile integrate web and mail server 2024-07-10 16:56:46 -03:00
migration.sql remove inboxes table and add arrived_at column 2024-02-20 00:42:00 -03:00
README.md add TODOs 2024-03-19 10:37:55 -03:00
run-dev.sh integrate web and mail server 2024-07-10 16:56:46 -03:00

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 bluemonday to 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?