A disposable, temporary and private mail address!
Go to file
Guilherme Rugai Freire 30b727b9ce
parse mail content-enconding on text/* mails
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
2024-07-18 12:37:19 -03:00
bin add templ and initial frontend code 2024-02-20 16:13:44 -03:00
cmd/server add dockerfile 2024-07-10 22:15:18 -03:00
pkg parse mail content-enconding on text/* mails 2024-07-18 12:37:19 -03:00
.gitignore enable wal mode 2024-07-10 19:07:24 -03:00
delete_old_mail.sh update delete_old_mail.sh to use DB_PATH var 2024-07-10 23:22:37 -03:00
Dockerfile add dockerfile 2024-07-10 22:15:18 -03:00
format.sh add go fmt format.sh script 2024-07-10 19:01:31 -03:00
go.mod add dockerfile 2024-07-10 22:15:18 -03:00
go.sum add dockerfile 2024-07-10 22:15:18 -03:00
Makefile integrate web and mail server 2024-07-10 16:56:46 -03:00
migration.sql enable wal mode 2024-07-10 19:07:24 -03:00
README.md add TODO for some mails failing to parse 2024-07-11 00:52:52 -03:00
run-dev.sh integrate web and mail server 2024-07-10 16:56:46 -03:00

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?