Versions in this module Expand all Collapse all v0 v0.2.0 Sep 27, 2026 v0.1.0 Sep 26, 2026 Changes in this version + type Mailer interface + Send func(ctx context.Context, msg Message) error + func NewLog(log *slog.Logger) Mailer + func NewResend(apiKey, from string) (Mailer, error) + func NewSMTP(cfg SMTPConfig) (Mailer, error) + type Message struct + Subject string + TextBody string + To string + func (m Message) Validate() error + type SMTPConfig struct + Addr string + From string + Password string + Username string