A disposable, temporary and private mail address!
Go to file
Guilherme Rugai Freire a88e5e90dc
parse mail subject when receiving and saving to db
this way, when the inbox route is called, there is no need to parse all
mails neither request them from db just so it can have their subject
2024-07-18 22:10:35 -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 subject when receiving and saving to db 2024-07-18 22:10:35 -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 parse mail subject when receiving and saving to db 2024-07-18 22:10:35 -03:00
README.md parse mail subject when receiving and saving to db 2024-07-18 22:10:35 -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

  • 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 in general?