Super easy mail server written in go
go get github.com/darkard2003/easyMail@latest
Using easyMail is very simple. You will need a email, and a application specific password. In gmail you can generate this password under security and then two factor authentication.
import "github.com/darkard2003/easyMail"
server := easyMail.NewMailServer("email", "password", easyMail.GMAIL)
mail := easyMail.NewMail(
"From",
[]string{"To1", "To2", "To3"},
"Subject",
"Body",
false, // Is HTML
)
err := mail.AddAttachment("path/to/file")
err := server.SendMail(mail)