Connect Gmail to Porcia
Connect your Gmail account via OAuth to automatically discover SaaS vendors from your email.Prerequisites
- A Gmail or Google Workspace account
- Admin access to your email account
- 5 minutes for setup
Porcia only requests read-only access to your email. We never send emails from your account or modify your inbox.
Step-by-Step Setup
Review Permissions
Google will show the permissions Porcia is requesting:
- Read email messages and settings - To analyze vendor emails
- View email metadata - To identify vendor communications
Wait for Initial Sync
You’ll be redirected back to Porcia. The initial email sync will begin automatically and takes 2-5 minutes.Porcia will scan the last 6 months of emails to discover vendors.
What Happens After Connection?
Initial Sync (First 5 Minutes)
- Porcia scans your last 6 months of emails
- AI identifies vendor emails (invoices, renewals, updates)
- Extracts pricing, contract terms, and renewal dates
- Matches vendors to our global database
- Discovered vendors appear in your dashboard
Ongoing Sync (Real-Time)
- New emails are processed within 5 minutes of arrival
- Vendor information is automatically updated
- You receive alerts for important emails (renewals, invoices)
Permissions Explained
What We Can Access
- ✅ Read emails - To identify and analyze vendor communications
- ✅ View metadata - Sender, subject, date (no content stored)
- ✅ Access labels - To understand email organization
What We CANNOT Do
- ❌ Send emails - We never send emails from your account
- ❌ Delete emails - Your inbox remains untouched
- ❌ Modify emails - We only read, never write
- ❌ Access personal emails - Only vendor emails are processed
Troubleshooting
Connection Failed
If the OAuth connection fails:- Check browser pop-ups - Make sure pop-ups are enabled for app.porcia.org
- Try incognito mode - Sometimes browser extensions interfere
- Clear cookies - Clear cookies for accounts.google.com and try again
- Check admin restrictions - Your Google Workspace admin may have restricted third-party apps
Enable third-party apps in Google Workspace
Enable third-party apps in Google Workspace
If you’re using Google Workspace and the connection fails, your admin may need to whitelist Porcia:
- Go to Google Admin Console → Security → API Controls
- Click Manage Third-Party App Access
- Click Add app → OAuth App Name or Client ID
- Search for “Porcia” and click Select
- Choose Trusted and click Configure
No Vendors Discovered
If no vendors appear after the initial sync:- Wait 5-10 minutes - Initial sync can take time for large inboxes
- Check email history - Porcia only scans the last 6 months
- Verify vendor emails - Make sure you have vendor emails (invoices, renewals) in your inbox
- Check spam folder - Vendor emails in spam won’t be processed
Sync Stopped Working
If email sync stops after working initially:- Check connection status - Go to Settings → Integrations → Email
- Reconnect if needed - Click Reconnect if the status shows “Disconnected”
- Check token expiration - OAuth tokens expire after 6 months; reconnect to refresh
More Troubleshooting Help
View complete email sync troubleshooting guide
Disconnecting Gmail
To disconnect your Gmail account:- Go to Settings → Integrations → Email
- Find your connected Gmail account
- Click Disconnect
- Confirm disconnection
Disconnecting will stop new email processing. Historical vendor data will be preserved unless you choose to delete it.
Revoke Access in Google
To completely revoke Porcia’s access:- Go to myaccount.google.com/permissions
- Find “Porcia” in the list
- Click Remove Access
Privacy & Security
Data Storage
- OAuth tokens - Stored securely with encryption at rest
- Email metadata - Sender, subject, date stored in our database
- Raw email content - Stored encrypted for 90 days, then automatically deleted
- Extracted data - Vendor name, pricing, dates stored for your dashboard
Data Retention
- Active connection - Email metadata retained while connected
- After disconnection - Email metadata deleted within 90 days
- Vendor data - Preserved (you can manually delete if needed)
Compliance
- Data privacy - Right to access, delete, and export your data (GDPR compliance in progress)
- Encryption - AES-256 at rest, TLS 1.3 in transit
Contact Support
Questions about security? Contact us