Document Microsoft Graph email auth env vars; newest bookmarks first
Deploy with Docker Compose / deploy (push) Successful in 1m4s

Co-Authored-By: Claude Code <[email protected]>
This commit is contained in:
2026-09-22 22:55:35 +01:00
co-authored by Claude Code
parent ff186f04a7
commit 49909037db
2 changed files with 21 additions and 2 deletions
+20 -1
View File
@@ -59,8 +59,27 @@ GITEA_RUNNER_NAME=pi-runner
GITEA_RUNNER_REGISTRATION_TOKEN=
# --- Email ingest (backend) --------------------------------------------------
# IMAP_PASSWORD should be an app-specific password, not the account password.
# EMAIL_BACKEND selects the mail source: "graph" (Microsoft Graph API, OAuth)
# or "imap" (fallback; Microsoft has retired IMAP basic auth for outlook.com,
# so imap+app-password only works with non-Microsoft providers like Gmail).
# For "graph": register an Entra "app registration" for a personal Microsoft
# account at azure.microsoft.com > Microsoft Entra ID > App registrations
# (default tenant = "consumers"); add a delegated Mail.Read permission with
# admin/user consent, and create a client secret. Redirect URI type "Web",
# value must live behind the site's real HTTPS origin, e.g.
# https://<YOUR_DOMAIN>/email/callback (callback route already exists in the
# backend). Backend code exchanges a code there. TenantID must be "consumers"
# for a personal outlook.com account.
# The first sync prints an authorisation URL into the container log; visit it,
# consent, and the refresh token is persisted to backend/token/msgraph_token.json.
# OAuth flow reference: https://learn.microsoft.com/en-us/graph/auth-v2-user
EMAIL_BACKEND=
MSGRAPH_CLIENT_ID=
MSGRAPH_CLIENT_SECRET=
MSGRAPH_TENANT_ID=consumers
MSGRAPH_REDIRECT_URI=
# IMAP_PASSWORD should be an app-specific password, not the account password.
# Only read when EMAIL_BACKEND=imap.
IMAP_HOST=
IMAP_PORT=993
IMAP_EMAIL=