Package dev.getelements.elements.service.email


package dev.getelements.elements.service.email
Platform email service implementation.

Guice bindings expose the following services:

  • EmailService — send transactional email.
  • Session — the underlying Jakarta Mail session, for callers that need direct access to the transport (e.g. advanced MIME construction).

Both are provided by SmtpMailSessionProvider. Inject Provider<Session> rather than Session directly if you need lazy resolution (e.g. in code paths where email may not always be needed).