Credentials Directory Structure: - credentials/gmail/ - Gmail OAuth credentials (3 accounts) - credentials/outlook/ - Outlook/Microsoft365 OAuth credentials (3 accounts) - credentials/imap/ - IMAP username/password credentials (3 accounts) Files Added: - credentials/README.md - Comprehensive setup guide - credentials/*/account1.json.example - Templates for each provider Security: - Updated .gitignore to exclude actual credential files - Only .example files are tracked in git - README includes security best practices Setup Instructions: - Gmail: OAuth 2.0 via Google Cloud Console - Outlook: OAuth 2.0 via Azure Portal with Microsoft Graph API - IMAP: Username/password (supports Gmail app passwords) Dependencies Verified: - Gmail: google-api-python-client, google-auth-oauthlib (installed) - Outlook: msal, requests (installed) - IMAP: Python standard library (no additional deps) Usage: - --credentials credentials/gmail/account1.json - --credentials credentials/outlook/account2.json - --credentials credentials/imap/account3.json All providers now support 3 accounts each with organized credential storage.
12 lines
407 B
Plaintext
12 lines
407 B
Plaintext
{
|
|
"installed": {
|
|
"client_id": "YOUR_CLIENT_ID.apps.googleusercontent.com",
|
|
"project_id": "your-project-id",
|
|
"auth_uri": "https://accounts.google.com/o/oauth2/auth",
|
|
"token_uri": "https://oauth2.googleapis.com/token",
|
|
"auth_provider_x509_cert_url": "https://www.googleapis.com/oauth2/v1/certs",
|
|
"client_secret": "YOUR_CLIENT_SECRET",
|
|
"redirect_uris": ["http://localhost"]
|
|
}
|
|
}
|