Skip to main content

Crate cloudillo_email

Crate cloudillo_email 

Source
Expand description

Email notification system with templates and SMTP integration

This module provides:

  • Template rendering with variable substitution (Handlebars)
  • SMTP email sending with lettre
  • Email sender task for async/persistent sending via scheduler
  • Configuration via global settings module

Re-exports§

pub use sender::EmailSender;
pub use task::EmailSenderTask;
pub use template::TemplateEngine;

Modules§

sender
SMTP email sender using lettre
settings
Email settings registration
task
Email sender task for scheduler integration
template
Email template rendering with Handlebars

Structs§

EmailMessage
Email message to be sent
EmailModule
Email module - main orchestrator for email operations
EmailTaskParams
Email task parameters

Functions§

get_tenant_lang
Get tenant’s preferred language from settings
init
Initialize email module (register tasks with scheduler)
register_settings