Troubleshooting
Email Sync Issues
Troubleshoot Gmail and Outlook email synchronization problems.
Email Sync Issues
Emails not appearing in your Unified Inbox? Use this guide to diagnose and fix common email sync problems.
Symptoms
- New emails don't appear in the Inbox
- Sent emails aren't showing up
- Sync status shows "Error" or "Disconnected"
- Emails appear delayed by hours
Step 1: Check Connection Status
- Go to Settings → Connected Accounts
- Look at the status badge next to your email connection:
- Green / Active — Connection is healthy
- Yellow / Error — Temporary issue (token expired, rate limit)
- Red / Disconnected — Connection broken, needs reconnection
Step 2: Reconnect Your Account
If the status is red or yellow:
- Click the Disconnect button on the connection card
- Wait for confirmation
- Click Connect and re-authorize with your provider
- Check that you grant all requested permissions
Disconnecting does not delete previously synced emails. It only stops future sync.
Step 3: Check Provider-Specific Issues
Gmail
"This app isn't verified" error:
- Google may show a security warning for OAuth apps
- Click Advanced → Go to Workestra (unsafe)
- This is normal for apps in testing mode
Sync stopped after 7 days:
- Google test apps have limited refresh token lifetime
- Reconnect to obtain a new refresh token
Outlook / Microsoft 365
"AADSTS65001: User or admin has not consented":
- Your organization requires admin approval for app permissions
- Contact your IT admin to approve Workestra in Azure AD
- Or use Admin Consent flow if you're an admin
"AADSTS50011: Redirect URI mismatch":
- The callback URL must exactly match what's registered in Azure AD
- Check that
https://workestra.app/api/auth/outlook/callbackis registered
Step 4: Check Sync Settings
- Go to Settings → Connected Accounts
- Click the ⋯ menu on your connection
- Verify:
- Sync Inbox is enabled
- Sync Sent Items is enabled (if desired)
- Sync isn't paused
Step 5: Verify Database Permissions
If you're self-hosting or using a custom Supabase instance:
- Ensure the
synced_emailstable has RLS policies enabled - The
user_email_connectionstable must allow the service role to read/write
Still Not Working?
- Check the Connection Error field in Settings for specific error messages
- Try a manual sync: Settings → Connected Accounts → ⋯ → Sync Now
- Contact support with your workspace ID and connection ID