Update email configuration in README and enhance email handler for Microsoft 365 support

- Updated the README.md to include specific SMTP settings for Microsoft 365 and OAuth2 authentication options.
- Modified the email handler to support OAuth2 authentication for Microsoft 365, improving security and flexibility.
- Enhanced logging to provide clearer feedback on email configuration and authentication methods used.
This commit is contained in:
2025-11-02 02:39:32 +01:00
parent 3b28d1c52d
commit 0dd0ae2bd2
3 changed files with 80 additions and 16 deletions

4
src/env.d.ts vendored
View File

@@ -16,6 +16,10 @@ interface ImportMetaEnv {
readonly WEBSITE_NAME?: string;
readonly GEMINI_API_KEY?: string;
readonly MANUAL_REVIEW_SECRET?: string;
readonly OAUTH2_CLIENT_ID?: string;
readonly OAUTH2_CLIENT_SECRET?: string;
readonly OAUTH2_REFRESH_TOKEN?: string;
readonly OAUTH2_ACCESS_TOKEN?: string;
}
interface ImportMeta {