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§
- Email
Message - Email message to be sent
- Email
Module - Email module - main orchestrator for email operations
- Email
Task Params - Email task parameters
Functions§
- get_
tenant_ lang - Get tenant’s preferred language from settings
- init
- Initialize email module (register tasks with scheduler)
- register_
settings