This commit is contained in:
2025-04-23 04:18:28 +02:00
parent 10a7d9bb6b
commit a16ac8f627
276 changed files with 85166 additions and 1 deletions

View File

@@ -0,0 +1,17 @@
create a pkg/smtp lib based on
https://github.com/emersion/go-smtp/tree/master
each mail coming in need to be converted to unicode text
and stored as json with
from
to
subject
message
attachments []Attachment
Attachment = encoded binary
into the local redis as hset and in a queue called mail:out which has has the unique id of the mssage
hset is mail:out:$unid -> the json