Rustango docs

Scheduler, email & notifications

Periodic tasks, transactional email, multi-channel notifications.

scheduler fires async tasks on a cron expression in-process. email is a Mailer trait (console/SMTP backends) with Tera-rendered templates; mailable wraps a message + template Laravel-style. notifications fans one event to mail / database / log / broadcast. webhook_delivery posts signed payloads with retry.

scheduler.add("0 * * * *", || async { prune_sessions(&pool).await.ok(); });
scheduler.run();