Commit Graph

4 Commits

Author SHA1 Message Date
Guilherme Rugai Freire
bf21d05b6d
refactor web_server code
- Move mail functions to its own packages;
- Move bigger router functions to its own functions, and separate
  router creation from main function;
- Edit the algorithm that choses the format will be chosen with
  regards to format preference to a simples one.
2024-03-19 11:30:25 -03:00
Guilherme Rugai Freire
ddcf9dea62
add separate page for viewing the email 2024-03-18 15:47:15 -03:00
Guilherme Rugai Freire
b2a85dd3f8
add MIME email rendering
This commits adds support for rendering email in text/html,
text/markdown and text/plain inside a MIME/multipart mail.

Bluemonday was added as a dependency and initialized but it is still not
used because the styling of the email is "discarted" too much. But this
needs to be fixed before going to production.
2024-03-16 18:12:06 -03:00
Guilherme Rugai Freire
f4407d71f8
render inbox as html instead of json 2024-02-20 18:02:30 -03:00