feat: send mail

This commit is contained in:
2025-08-24 13:11:31 +02:00
parent 5b664234e9
commit 0f3da902dc
8 changed files with 144 additions and 17 deletions

15
mailer/model.go Normal file
View File

@@ -0,0 +1,15 @@
package mailer
import "io"
type Mail struct {
TO string
Subject string
Body string
Attachments []Attachment
}
type Attachment struct {
Name string
MimeType string
Content io.Reader
}