Commit Graph

7 Commits

Author SHA1 Message Date
Guilherme Rugai Freire
a8860ea560
add support for cc and bcc
now it can handle when mails are carbon-copied
fixes #1 fixes #2
2025-08-28 09:46:20 -03:00
Guilherme Rugai Freire
661922ce35
inbox: show mails in descending order 2024-07-21 02:06:54 -03:00
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
Guilherme Rugai Freire
7999d35a32
return 404 not found on email not found, not 500 2024-07-10 23:33:10 -03:00
Guilherme Rugai Freire
a4efa6a35f
add dockerfile 2024-07-10 22:15:18 -03:00
Guilherme Rugai Freire
8ef8cf75ef
sanitize html with bluemonday 2024-07-10 17:31:09 -03:00
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