The platform's post office: the single place that knows how to compose an email and send it over SMTP. Modules don't know about the mail server — they hand it “send an invite to so-and-so”, and the transport takes the settings, renders the template, and delivers.
inviteresettestalerts
last_test_ok / last_test_at
smtp_settingssend time; it also owns the flow mechanics.
SAQ over Redis) runs the queue.
Detailed module design decisions.