Runtime services
View as MarkdownIdentity
Section titled “Identity”Generated packages/api/mailer.ts, boot.ts, and loadApp() options.
Contract
Section titled “Contract”createSapportaMailer()returns the Nodemailer transport, parsed defaults, andsendMail()helper.- Boot constructs the database connection and mailer, then passes them to
loadApp(). - Health policy accepts
public,authenticated, ordisabled. - Boot owns process signal handling, server close, transport close, and database cleanup.