Skip to main content

Crate rullst_mail

Crate rullst_mail 

Source
Expand description

§rullst-mail — High-Performance Transactional Email & Mailables Engine

Provides typed, bounded primitives for transactional emails with built-in:

  • RFC 8058 One-Click List-Unsubscribe headers
  • Automatic Plain-Text Fallback derivation
  • In-Memory MailTrap & Fluent Assertions
  • Outbound DLP Secret Scanner (AWS keys, passwords, bearer tokens)
  • Multiple delivery drivers (SMTP, Resend, SendGrid, Postmark, AWS SES, ACS, SendPulse, Mailjet, Mailtrap, Log, Memory, Failover)
  • Dynamic Multi-Tenancy Resolver (TenantMailResolver)
  • Resilient Circuit Breaker & Automatic Failover (FailoverDriver)
  • Opt-in attachment inspection, recipient suppression, and minimized observations

Re-exports§

pub use account::AccountEvent;
pub use account::AccountMail;
pub use account::MailLocale;
pub use account::MailPurpose;
pub use feedback::MailFeedbackError;
pub use feedback::MailFeedbackKind;
pub use feedback::ResendFeedbackVerifier;
pub use feedback::VerifiedMailFeedback;
pub use attachment::*;
pub use drivers::*;
pub use error::*;
pub use facade::*;
pub use factory::*;
pub use inspection::*;
pub use message::*;
pub use observability::*;
pub use pipeline::*;
pub use resolver::*;
pub use security::*;
pub use suppression::*;
pub use tracking::*;
pub use validator::*;
pub use worker::*;

Modules§

account
Deterministic account-lifecycle mail. No marketing consent or tracking is added.
action
Application-owned action links and body-only, URL-aware secret redaction.
attachment
drivers
error
facade
factory
Transactional email fixtures & factory generator for testing, preview, and local development.
feedback
Verified Resend/Svix delivery feedback. Raw bodies and recipients are omitted from Debug. Scope verifier/store instances to the same application/tenant.
inspection
Opt-in fail-closed attachment inspection before transport dispatch.
mail
Backwards compatibility alias for rullst_mail::mail::*
message
observability
Secret-minimized delivery observations for metrics and tracing adapters.
pipeline
Mandatory pre-flight pipeline shared by every official delivery path.
resolver
security
suppression
Provider-neutral recipient suppression with bounded replay evidence.
tracking
Time-bounded, HMAC-authenticated email open and click tracking tokens.
validator
Pre-Flight email address deliverability & disposable email provider filter.
worker