Convert getEmailService() to async function and update all callers to use await. Replace synchronous require() with dynamic import() for admin-config module. Add SMTP config loading to admin configuration dialog.