40150da3a9
- Add gmail_service.py with Gmail API users.messages.insert() for direct email injection - Add DeliveryMethod enum and GmailCredential model to database models - Add delivery_method field to MailAccount schema and model - Create providers.py endpoint with 12 provider presets (Gmail, GMX, WEB.DE, Outlook, Yahoo, AOL, T-Online, 1&1/IONOS, Freenet, Posteo, mail.de, iCloud) - Expand MailServerAutoDetect with 30+ domain mappings - Update Celery tasks to prefer Gmail API injection, with SMTP fallback - Add ProviderWizard.tsx frontend component for quick provider setup - Update AddMailAccountModal.tsx with wizard integration - Add Google API Python client libraries to requirements.txt - Add Gmail API config settings - Add unit tests for Gmail service and provider presets Co-authored-by: christianlouis <361235+christianlouis@users.noreply.github.com> Agent-Logs-Url: https://github.com/christianlouis/pop_puller_to_gmail/sessions/de3ef930-a980-4958-8a9d-a2c802918e81
18 lines
842 B
Python
18 lines
842 B
Python
"""
|
|
API v1 router aggregation.
|
|
"""
|
|
from fastapi import APIRouter
|
|
|
|
from app.api.v1.endpoints import auth, users, mail_accounts, notifications, subscriptions, admin, providers
|
|
|
|
api_router = APIRouter()
|
|
|
|
# Include all endpoint routers
|
|
api_router.include_router(auth.router, prefix="/auth", tags=["Authentication"])
|
|
api_router.include_router(users.router, prefix="/users", tags=["Users"])
|
|
api_router.include_router(mail_accounts.router, prefix="/mail-accounts", tags=["Mail Accounts"])
|
|
api_router.include_router(providers.router, prefix="/providers", tags=["Providers & Gmail"])
|
|
api_router.include_router(notifications.router, prefix="/notifications", tags=["Notifications"])
|
|
api_router.include_router(subscriptions.router, prefix="/subscriptions", tags=["Subscriptions"])
|
|
api_router.include_router(admin.router, prefix="/admin", tags=["Admin"])
|