nthmail/README.md
Guilherme Rugai Freire 5d5ee9c531
add attachments todo
2024-07-10 19:30:19 -03:00

694 B

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
./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 subject parsed from email. Then when listing the email it is not necessary to parse all mails and retrieve them.
  • Cache in general?