Overview
Gmail Integration is the core feature of Money Tracker. By connecting your Gmail account, the app automatically monitors your inbox for transaction-related emails and extracts financial information using AI.How It Works
OAuth Connection
You authorize Money Tracker to read your Gmail messages using secure Google OAuth 2.0
Watch Setup
Money Tracker creates a Gmail Watch that sends real-time notifications when new emails arrive
Real-Time Processing
When a new email arrives in your INBOX, Money Tracker:
- Receives a webhook notification from Google
- Fetches the email content
- Analyzes it with AI
- Extracts transaction details if found
Connecting Your Gmail Account
Google Authorization
You’ll be redirected to Google’s authorization page:
- Sign in to your Google account
- Review the permissions Money Tracker is requesting
- Click “Allow” to grant access
Return to Money Tracker
After authorization, you’ll be redirected back to Money Tracker with a success message
Managing Connected Accounts
Multiple Gmail Accounts
You can connect multiple Gmail accounts to Money Tracker. Each account:- Has its own watch configuration
- Processes emails independently
- Can be managed separately
Account Status
Each connected account shows one of three statuses:Connected
Account is active and processing emails
Needs Reconnect
OAuth token expired or revoked - reconnection required
Disconnected
Account was manually disconnected
Reconnecting an Account
If an account shows “Needs Reconnect”:- Click the “Reconnect” button next to the account
- Complete the Google authorization flow again
- The account status will update to “Connected”
Accounts need reconnection if:
- The OAuth token expired
- You revoked access in your Google account settings
- The refresh token was invalidated by Google
Disconnecting an Account
- Click the “Disconnect” (X) button next to the account
- Confirm the disconnection
- The account will be marked as disconnected
- Gmail Watch is stopped
- OAuth tokens are invalidated
- Historical transactions remain in your account
- The account can be reconnected later
Email Import (Seed)
The Email Import feature allows you to process historical emails to extract past transactions.Starting an Import
Select Date Range
Choose how far back to import:
- Last 7 days (recommended for first import)
- Custom date range
Import Status
Imports can have these statuses:- Processing: Currently fetching and analyzing emails
- Completed: All emails processed successfully
- Failed: Import encountered an error - you can retry
Import Limits
- Maximum 500 emails per import session
- Imports only INBOX emails (not SPAM or TRASH)
- Duplicate transactions are automatically prevented
Gmail Watch Management
Gmail Watches are Google’s mechanism for real-time email notifications.Watch Lifecycle
- Creation: Automatically created when you connect a Gmail account
- Expiration: Watches expire after 7 days
- Renewal: Money Tracker automatically renews watches before expiration
Watch Status Warnings
You’ll see warnings on the Dashboard if:- Watch will expire within 72 hours
- Watch has already expired
- Account is missing a watch
If a watch expires, you’ll temporarily stop receiving real-time notifications until it’s renewed. Historical emails aren’t lost and can be processed with Email Import.
Permissions and Privacy
What Access Does Money Tracker Need?
Money Tracker requests these Google OAuth scopes:https://www.googleapis.com/auth/gmail.readonly- Read email messageshttps://www.googleapis.com/auth/gmail.metadata- Access email metadata (sender, subject, date)https://www.googleapis.com/auth/userinfo.email- Identify your Gmail address
What Emails Are Processed?
Money Tracker only processes:- Emails in your INBOX
- Emails not marked as SPAM or in TRASH
- Emails that arrive after you connect your account (unless you run Email Import)
Privacy Guarantee
Your Privacy Matters
- Emails are only analyzed for transaction data
- Email content is not stored permanently
- Only transaction metadata is saved (merchant, amount, date, etc.)
- OAuth tokens are encrypted at rest
- You can disconnect at any time
Troubleshooting
No Transactions Appearing
- Check account status: Ensure your account shows “Connected” in Settings
- Verify watch: Look for watch warnings on the Dashboard
- Check email content: The AI only extracts clear transaction information
- Run Email Import: Try importing recent emails manually
”Needs Reconnect” Status
- Click “Reconnect” and complete the Google authorization
- If it persists, disconnect and reconnect the account
Watch Expiration
- Money Tracker automatically renews watches
- If you see expiration warnings, refresh the page or wait for automatic renewal
- As a last resort, disconnect and reconnect the account to create a new watch
Related Features
- AI Extraction - How the AI processes emails
- Transactions - View extracted transactions
- Notifications - Get notified about sync issues