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
a4efa6a35f
add dockerfile
2024-07-10 22:15:18 -03:00
Guilherme Rugai Freire
4fec4e8bd0
remove logs when receiving mails
2024-07-10 19:09:54 -03:00
Guilherme Rugai Freire
fc899da74c
add go fmt format.sh script
2024-07-10 19:01:31 -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