Versions in this module Expand all Collapse all v0 v0.0.4 Dec 16, 2020 Changes in this version + type EmailAttachment struct + ContentType string + Contents []byte + FileName string + type EmailJob struct + Attachments []EmailAttachment + Body string + Subject string + To string + type MailSender interface + Queue func(msg EmailJob) error + type Mailer struct + func NewMailer(database db.Database, from string, dialer *mail.Dialer) *Mailer + func (m *Mailer) Queue(job EmailJob) error + func (m *Mailer) Start() + func (m *Mailer) Stop()