email: optional logo image in the header

A configurable logo URL renders as an image beside the brand name in the
email header (falling back to the brand text when unset). Email clients
need a hosted image, so it takes a URL rather than an inline asset.
This commit is contained in:
Jean Chevronnet 2026-07-12 16:36:06 +00:00
parent 98630c7d36
commit bdcce01f11
No known key found for this signature in database
7 changed files with 41 additions and 9 deletions

View file

@ -60,6 +60,7 @@ async fn main() -> Result<()> {
if let Some(email) = &cfg.email {
db.set_email_brand(&email.brand);
db.set_email_accent(&email.accent);
db.set_email_logo(&email.logo);
}
let engine = Arc::new(Mutex::new(Engine::new(services, db)));