Something went wrong

Thank you for being patient! We're working hard on resolving the issue

Crate overview - Lona Docs Log in

tento-mailer

tento-mailer is a thin SMTP email helper built on lettre.

Public surface

  • Emailer::make(sender_name, sender_email, sender_password) creates a Gmail SMTP-backed sender.
  • send_raw(message) sends a fully constructed lettre::Message.
  • send(to, subject, content) sends a plain message body.
  • send_calendar(to, subject, calendar_invite) sends an .ics calendar attachment.
  • The crate re-exports lettre for callers that need lower-level message construction.

Boundaries

This crate should own SMTP transport details and calendar-invite attachment construction. It should not own templates, product workflows, or credential storage.

Secrets must be supplied through the host's configuration layer, not embedded in command invocations or docs examples.