package mail import "context" type Content struct { Subject string TextBody string HtmlBody string } // Mailer sends emails. type Mailer interface { Send(ctx context.Context, email string, content Content) error }