Step 3: Connect the app
Tell Google about your server, install the Mac app, and sign in.
1. Add the redirect URI to Google
Open your server's address in a browser. Under Add this redirect URI to your Google OAuth client, click Copy. It looks like:
https://echelon-inbox.your-subdomain.workers.dev/auth/callback
- In Google Cloud, open Google Auth Platform → Clients and click your client.
- Under Authorized redirect URIs, click Add URI and paste it.
- Click Save. Google says it can take a few minutes to apply.
2. Install the app
- Download the Mac app, open the .dmg, and drag Echelon Inbox to Applications.
- Open it. Under the sign-in button, next to Server, click Change.
- Paste your server's address (the status page has a Copy button for it) and click Use server.
The app updates itself, so you only download it once.
3. Sign in
- Click Sign in with Google. Your browser opens.
- Pick your account. When Google warns the app is unverified, click Advanced, then Go to Echelon Inbox. This is your own app, so that's expected.
- Approve access and return to the app. Your inbox loads.
4. Check it works
- Send yourself an email from another account. Within about a minute it should appear with a tag such as FYI.
- To tag the mail you already have, press ⌘ K and run Triage inbox.
- Open Settings (⌘ ,) to choose a triage mode and AI models.
To add another Google account, click your email in the bottom-left corner and choose Add account…. If you left ALLOWED_EMAIL_DOMAINS empty, add the new address to it first. See Change a setting later.
Troubleshooting
| Problem | Fix |
|---|---|
| Google says redirect_uri_mismatch | The redirect URI on your OAuth client must exactly match the one on your server's status page. Changes can take a few minutes to apply. |
| "This server isn't open to you@…" | Add your email or its domain to ALLOWED_EMAIL_DOMAINS in the Cloudflare dashboard. |
| Google says access blocked or the app isn't available to you | The sign-in screen is set to Internal and you're outside that organization, or it's in Testing and you're not a test user. Open Google Auth Platform → Audience and publish it. |
| You have to sign in again every week | Your sign-in screen is still in Testing. Open Google Auth Platform → Audience and click Publish app. |
| Something else | In the Cloudflare dashboard, open your server and choose Logs to see what it's doing. |