📧 Ottometric Gmail Extension — User Guide
Chrome extension that automatically logs and tracks emails in Gmail to Odoo CRM contacts, companies, and deals.
📋 What It Does
The Ottometric Gmail Extension helps sales teams track email conversations and automatically log them to your CRM:
- Auto-matches recipients to Odoo contacts, companies, and deals
- Logs emails to Odoo Chatter (conversation history)
- Tracks email opens (see when prospects open your emails)
- Tracks link clicks (see which links prospects click)
- Links stakeholders to deals automatically
- Works seamlessly in Gmail — no switching between tabs
🚀 First-Time Setup
Step 1: Install the Extension
- Click the installation link shared by your team lead: Install Ottometric Gmail Extension
- The link is unlisted (not publicly searchable), so you must use the direct link
- Click Add to Chrome
- Click Add extension when Chrome asks to confirm
- The Ottometric icon should appear in your Chrome toolbar
Step 2: Sign In to Odoo
- Click the Ottometric Gmail extension icon in Chrome toolbar
- Click "Open Options" (or go to
chrome://extensions→ Ottometric Gmail Extension → Details → Extension options) - Click "Sign in with Odoo"
- You'll be redirected to the Odoo login page
- Log in with your Odoo credentials (@ottometric.com account)
- Authorize the extension to access your Odoo data
- You'll be redirected back — the options page should show "Connected to Odoo"
Step 3: Grant Gmail Permission for Reply Tracking
- On the same Options page, click "Grant Gmail Permission"
- A new window opens asking to choose your Google account
- Select your account (the one you use for Gmail)
- Click "Allow" to grant the extension permission to read your Gmail
- The options page should show "Gmail permission granted! Reply tracking is now active."
The extension is now connected to Odoo and ready to use. Open Gmail to start logging emails.
📧 How to Use It
Composing an Email
- Open Gmail and click Compose (or reply to an email)
- Add recipients in the
Tofield - The Ottometric extension automatically appears in the compose window:
- Odoo sidebar widget shows matched contacts, companies, and deals
- "Will log to..." badge shows where the email will be saved
Understanding the Sidebar
The sidebar has three tabs:
| Tab | What It Shows |
|---|---|
| Contacts | Odoo contacts matching the recipient email addresses |
| Companies | Companies associated with those contacts |
| Deals | Active deals linked to those companies |
Auto-matched items have a checkmark (✓) by default. You can:
- Uncheck items you don't want to log to
- Search for additional contacts/companies/deals using the search box
- Manually select extra items by checking their boxes
Tracking Options
At the top of the sidebar, you'll see two toggle buttons:
| Toggle | What It Does |
|---|---|
| Log | Saves the email to Odoo Chatter for selected contacts/companies/deals |
| Track | Enables email open tracking and link click tracking via Odoo Email Marketing. View stats at Odoo Email Marketing |
Both are ON by default. You can turn them off if you don't want to log or track a particular email.
Sending the Email
- Write your email as usual
- Review the sidebar to confirm logging targets
- Click Gmail's Send button
- The extension automatically:
- Logs the email to selected Odoo records
- Sets up tracking (if enabled)
- Links contacts as stakeholders to deals
- BCCs
catchall@ottometric.com(backup logging)
That's it! Your email is sent and logged to Odoo.
⚡ Daily Maintenance (Recommended)
Best Practice: Reconnect Every 24 Hours
To prevent most extension issues before they happen:
- Once per day, click the Ottometric Gmail extension icon
- Click "Open Options"
- Verify connection status shows "Connected to Odoo"
- If disconnected, click "Sign in with Odoo" to reconnect
- Refresh Gmail (F5 or Cmd+R) after reconnecting
Why this helps:
- Odoo access tokens can occasionally expire or become stale
- Gmail's InboxSDK sometimes needs a fresh connection
- A daily refresh prevents most sidebar and logging issues
Force Extension Update (Instant Update)
Chrome automatically updates extensions every ~5 hours, but you can force an immediate update:
- Go to
chrome://extensionsin your browser - Enable Developer mode (toggle at top right)
- Click the "Update" button at the top of the page
- Chrome will update all extensions to their latest versions instantly
- You can turn off Developer mode after updating
If Extension Stops Working
If you notice the sidebar not appearing or emails not logging:
- Reconnect: Open extension options → Sign in with Odoo (if needed)
- Hard refresh Gmail: Press
Ctrl+Shift+R(Windows/Linux) orCmd+Shift+R(Mac) - Close and reopen any open compose windows
- The extension should resume working immediately
🔍 Tracking Features (Open, Click, Reply)
Email Open Tracking
When Track is enabled:
- Odoo inserts an invisible tracking pixel in your email
- When the recipient opens the email, Odoo records the open event
- View open stats in Odoo under the email record
Link Click Tracking
When Track is enabled:
- The extension rewrites all links in your email to Odoo redirect URLs
- Format:
https://odoo.ottometric.com/r/{code}/m/{trace_id} - When the recipient clicks a link, Odoo logs the click and redirects to the original URL
- View click stats in Odoo under the email record
Reply Tracking
The extension automatically monitors tracked email threads for replies:
How it works:
- When you send a tracked email, the extension registers the Gmail thread ID
- A background process polls Gmail API every 1 minute to check for new messages
- When a recipient replies (detected via
In-Reply-Toemail header), the extension:- Logs the reply to Odoo via
/api/emails/reply - Marks the mailing trace as "replied" in Odoo
- Creates an inbound touchpoint in Odoo Chatter
- Logs the reply to Odoo via
- For emails with multiple recipients, tracks each recipient's reply individually
What you'll see in Odoo:
- Reply status updated on the mailing.trace record
- Reply timestamp when the recipient responded
- Inbound touchpoint logged to the contact/deal chatter with the reply content
gmail.readonly permission to poll for new messages. This is only used for tracking — no emails are modified or sent by the extension.
📂 Where Emails Are Logged
Emails are logged to Odoo Chatter (the conversation timeline) for:
- Selected contacts — Recipients you checked in the sidebar
- Selected companies — Parent companies of those contacts
- Selected deals — Active deals linked to those companies
- Your own contact — A copy is logged to your Odoo profile (sender logging)
- BCC backup — Emailed to
catchall@ottometric.comfor Odoo's mail server to process
You can view logged emails in Odoo by:
- Opening the contact/company/deal record
- Scrolling to the Chatter section
- Finding the email thread
⚠️ Troubleshooting
"Sidebar not showing in compose window"
Cause: InboxSDK or content script didn't load properly.
Fix:
- Refresh the Gmail tab (F5 or Cmd+R)
- Wait 5 seconds for the page to fully load
- Open a new compose window
- The sidebar should appear
If still not working:
- Go to
chrome://extensions - Click the reload icon on Ottometric Gmail Extension
- Refresh Gmail
"Not connected to Odoo" or "Token expired"
Cause: Odoo authentication token expired (usually after 30 days).
Fix:
- Click the Ottometric icon → "Open Options"
- Click "Sign in with Odoo"
- Log in again with your Odoo credentials
- Authorize the extension
"Email not logged to Odoo" (sent but nothing in Chatter)
Cause: Several possibilities:
- No contacts/companies/deals were checked in the sidebar
- Log toggle was turned OFF
- Odoo API error (network issue, permission issue)
Fix:
- Check the browser console for errors:
- Right-click anywhere in Gmail → Inspect
- Go to the Console tab
- Look for red error messages starting with
[Ottometric]
- Verify you checked at least one contact/company/deal in the sidebar
- Verify the Log toggle was ON before sending
- Resend the email with logging enabled
catchall@ottometric.com ensures Odoo logs the email via its mail server. Check Odoo chatter after 1-2 minutes.
"Tracking not working" (no open/click stats)
Cause:
- Track toggle was turned OFF
- Recipient email client blocks tracking pixels (Gmail, Outlook, etc. often do this)
- Link redirect URLs not generated properly
Fix:
- Verify the Track toggle was ON before sending
- For open tracking: Many email clients block tracking pixels by default (not much you can do)
- For click tracking: Check the sent email source — links should be rewritten to
https://odoo.ottometric.com/r/... - If links weren't rewritten, check browser console for errors
Need to report an error?
To see error details:
- Right-click anywhere in Gmail → Inspect
- Go to the Console tab
- Look for red error messages starting with
[Ottometric]or[InboxSDK] - Screenshot and send to your team lead
🔒 Privacy & Compliance
- Email content: Only logged to Odoo CRM (your company's instance)
- Tracking pixels: Standard email marketing practice; recipients can block them
- Link redirects: Transparent to recipients (they reach the intended URL after a brief redirect)
- BCC logging:
catchall@ottometric.comreceives a copy for backup logging (processed by Odoo's mail server) - Data storage: Odoo access token is stored in Chrome local storage (encrypted by Chrome)
- No third-party sharing: All data stays within Ottometric's Odoo instance
🛠️ Technical Requirements
- Chrome 116+ (Windows, Mac, or Linux)
- Gmail account (must use Gmail web interface at
mail.google.com) - Odoo account (@ottometric.com credentials)
- Stable internet (for API calls to Odoo and Inference API)
🏗️ How It Works (High-Level)
When You Compose an Email
- InboxSDK hooks into Gmail's compose window
- Content script extracts recipient emails from the
Tofield - Inference API (
/api/emails/ingest) matches emails to Odoo contacts - Odoo API (
/mail_plugin/partner/get) fetches companies and deals - Sidebar widget displays matches and allows manual selection
When You Click Send
- Presend hook intercepts the send event
- If Track is ON:
- Calls Inference API to create tracking trace
- Rewrites HTML links to Odoo redirect URLs (
/r/{code}/m/{trace_id}) - Inserts Odoo tracking pixel
- Updates Odoo
mailing.mailingrecord with final HTML body
- If Log is ON:
- Logs email to all selected contacts/companies/deals via
/si/log_emailRPC - Logs to sender's own profile
- Automatically BCCs
catchall@ottometric.comfor backup logging
- Logs email to all selected contacts/companies/deals via
- Stakeholder linking: If contacts + deals are selected, associates them in Odoo
- Gmail sends the email with all modifications applied
📊 Cost
| Component | Cost |
|---|---|
| Extension | Free (internal tool) |
| Odoo storage | Existing CRM quota (emails logged to Chatter) |
| Inference API | ~$0.001 per email (negligible) |
| Email tracking | Included in Odoo Email Marketing module |
Total: Effectively free (infrastructure already exists)
Ottometric Gmail Extension — Built for the Ottometric Sales Team
📧 Ottometric Gmail Extension — User Guide
Chrome extension that automatically logs and tracks emails in Gmail to Odoo CRM contacts, companies, and deals.
📋 What It Does
The Ottometric Gmail Extension helps sales teams track email conversations and automatically log them to your CRM:
- Auto-matches recipients to Odoo contacts, companies, and deals
- Logs emails to Odoo Chatter (conversation history)
- Tracks email opens (see when prospects open your emails)
- Tracks link clicks (see which links prospects click)
- Links stakeholders to deals automatically
- Works seamlessly in Gmail — no switching between tabs
🚀 First-Time Setup
Step 1: Install the Extension
- Click the installation link shared by your team lead: Install Ottometric Gmail Extension
- The link is unlisted (not publicly searchable), so you must use the direct link
- Click Add to Chrome
- Click Add extension when Chrome asks to confirm
- The Ottometric icon should appear in your Chrome toolbar
Step 2: Sign In to Odoo
- Click the Ottometric Gmail extension icon in Chrome toolbar
- Click "Open Options" (or go to
chrome://extensions→ Ottometric Gmail Extension → Details → Extension options) - Click "Sign in with Odoo"
- You'll be redirected to the Odoo login page
- Log in with your Odoo credentials (@ottometric.com account)
- Authorize the extension to access your Odoo data
- You'll be redirected back — the options page should show "Connected to Odoo"
Step 3: Grant Gmail Permission for Reply Tracking
- On the same Options page, click "Grant Gmail Permission"
- A new window opens asking to choose your Google account
- Select your account (the one you use for Gmail)
- Click "Allow" to grant the extension permission to read your Gmail
- The options page should show "Gmail permission granted! Reply tracking is now active."
The extension is now connected to Odoo and ready to use. Open Gmail to start logging emails.
📧 How to Use It
Composing an Email
- Open Gmail and click Compose (or reply to an email)
- Add recipients in the
Tofield - The Ottometric extension automatically appears in the compose window:
- Odoo sidebar widget shows matched contacts, companies, and deals
- "Will log to..." badge shows where the email will be saved
Understanding the Sidebar
The sidebar has three tabs:
| Tab | What It Shows |
|---|---|
| Contacts | Odoo contacts matching the recipient email addresses |
| Companies | Companies associated with those contacts |
| Deals | Active deals linked to those companies |
Auto-matched items have a checkmark (✓) by default. You can:
- Uncheck items you don't want to log to
- Search for additional contacts/companies/deals using the search box
- Manually select extra items by checking their boxes
Tracking Options
At the top of the sidebar, you'll see two toggle buttons:
| Toggle | What It Does |
|---|---|
| Log | Saves the email to Odoo Chatter for selected contacts/companies/deals |
| Track | Enables email open tracking and link click tracking via Odoo Email Marketing. View stats at Odoo Email Marketing |
Both are ON by default. You can turn them off if you don't want to log or track a particular email.
Sending the Email
- Write your email as usual
- Review the sidebar to confirm logging targets
- Click Gmail's Send button
- The extension automatically:
- Logs the email to selected Odoo records
- Sets up tracking (if enabled)
- Links contacts as stakeholders to deals
- BCCs
catchall@ottometric.com(backup logging)
That's it! Your email is sent and logged to Odoo.
⚡ Daily Maintenance (Recommended)
Best Practice: Reconnect Every 24 Hours
To prevent most extension issues before they happen:
- Once per day, click the Ottometric Gmail extension icon
- Click "Open Options"
- Verify connection status shows "Connected to Odoo"
- If disconnected, click "Sign in with Odoo" to reconnect
- Refresh Gmail (F5 or Cmd+R) after reconnecting
Why this helps:
- Odoo access tokens can occasionally expire or become stale
- Gmail's InboxSDK sometimes needs a fresh connection
- A daily refresh prevents most sidebar and logging issues
Force Extension Update (Instant Update)
Chrome automatically updates extensions every ~5 hours, but you can force an immediate update:
- Go to
chrome://extensionsin your browser - Enable Developer mode (toggle at top right)
- Click the "Update" button at the top of the page
- Chrome will update all extensions to their latest versions instantly
- You can turn off Developer mode after updating
If Extension Stops Working
If you notice the sidebar not appearing or emails not logging:
- Reconnect: Open extension options → Sign in with Odoo (if needed)
- Hard refresh Gmail: Press
Ctrl+Shift+R(Windows/Linux) orCmd+Shift+R(Mac) - Close and reopen any open compose windows
- The extension should resume working immediately
🔍 Tracking Features (Open, Click, Reply)
Email Open Tracking
When Track is enabled:
- Odoo inserts an invisible tracking pixel in your email
- When the recipient opens the email, Odoo records the open event
- View open stats in Odoo under the email record
Link Click Tracking
When Track is enabled:
- The extension rewrites all links in your email to Odoo redirect URLs
- Format:
https://odoo.ottometric.com/r/{code}/m/{trace_id} - When the recipient clicks a link, Odoo logs the click and redirects to the original URL
- View click stats in Odoo under the email record
Reply Tracking
The extension automatically monitors tracked email threads for replies:
How it works:
- When you send a tracked email, the extension registers the Gmail thread ID
- A background process polls Gmail API every 1 minute to check for new messages
- When a recipient replies (detected via
In-Reply-Toemail header), the extension:- Logs the reply to Odoo via
/api/emails/reply - Marks the mailing trace as "replied" in Odoo
- Creates an inbound touchpoint in Odoo Chatter
- Logs the reply to Odoo via
- For emails with multiple recipients, tracks each recipient's reply individually
What you'll see in Odoo:
- Reply status updated on the mailing.trace record
- Reply timestamp when the recipient responded
- Inbound touchpoint logged to the contact/deal chatter with the reply content
gmail.readonly permission to poll for new messages. This is only used for tracking — no emails are modified or sent by the extension.
📂 Where Emails Are Logged
Emails are logged to Odoo Chatter (the conversation timeline) for:
- Selected contacts — Recipients you checked in the sidebar
- Selected companies — Parent companies of those contacts
- Selected deals — Active deals linked to those companies
- Your own contact — A copy is logged to your Odoo profile (sender logging)
- BCC backup — Emailed to
catchall@ottometric.comfor Odoo's mail server to process
You can view logged emails in Odoo by:
- Opening the contact/company/deal record
- Scrolling to the Chatter section
- Finding the email thread
⚠️ Troubleshooting
"Sidebar not showing in compose window"
Cause: InboxSDK or content script didn't load properly.
Fix:
- Refresh the Gmail tab (F5 or Cmd+R)
- Wait 5 seconds for the page to fully load
- Open a new compose window
- The sidebar should appear
If still not working:
- Go to
chrome://extensions - Click the reload icon on Ottometric Gmail Extension
- Refresh Gmail
"Not connected to Odoo" or "Token expired"
Cause: Odoo authentication token expired (usually after 30 days).
Fix:
- Click the Ottometric icon → "Open Options"
- Click "Sign in with Odoo"
- Log in again with your Odoo credentials
- Authorize the extension
"Email not logged to Odoo" (sent but nothing in Chatter)
Cause: Several possibilities:
- No contacts/companies/deals were checked in the sidebar
- Log toggle was turned OFF
- Odoo API error (network issue, permission issue)
Fix:
- Check the browser console for errors:
- Right-click anywhere in Gmail → Inspect
- Go to the Console tab
- Look for red error messages starting with
[Ottometric]
- Verify you checked at least one contact/company/deal in the sidebar
- Verify the Log toggle was ON before sending
- Resend the email with logging enabled
catchall@ottometric.com ensures Odoo logs the email via its mail server. Check Odoo chatter after 1-2 minutes.
"Tracking not working" (no open/click stats)
Cause:
- Track toggle was turned OFF
- Recipient email client blocks tracking pixels (Gmail, Outlook, etc. often do this)
- Link redirect URLs not generated properly
Fix:
- Verify the Track toggle was ON before sending
- For open tracking: Many email clients block tracking pixels by default (not much you can do)
- For click tracking: Check the sent email source — links should be rewritten to
https://odoo.ottometric.com/r/... - If links weren't rewritten, check browser console for errors
Need to report an error?
To see error details:
- Right-click anywhere in Gmail → Inspect
- Go to the Console tab
- Look for red error messages starting with
[Ottometric]or[InboxSDK] - Screenshot and send to your team lead
🔒 Privacy & Compliance
- Email content: Only logged to Odoo CRM (your company's instance)
- Tracking pixels: Standard email marketing practice; recipients can block them
- Link redirects: Transparent to recipients (they reach the intended URL after a brief redirect)
- BCC logging:
catchall@ottometric.comreceives a copy for backup logging (processed by Odoo's mail server) - Data storage: Odoo access token is stored in Chrome local storage (encrypted by Chrome)
- No third-party sharing: All data stays within Ottometric's Odoo instance
🛠️ Technical Requirements
- Chrome 116+ (Windows, Mac, or Linux)
- Gmail account (must use Gmail web interface at
mail.google.com) - Odoo account (@ottometric.com credentials)
- Stable internet (for API calls to Odoo and Inference API)
🏗️ How It Works (High-Level)
When You Compose an Email
- InboxSDK hooks into Gmail's compose window
- Content script extracts recipient emails from the
Tofield - Inference API (
/api/emails/ingest) matches emails to Odoo contacts - Odoo API (
/mail_plugin/partner/get) fetches companies and deals - Sidebar widget displays matches and allows manual selection
When You Click Send
- Presend hook intercepts the send event
- If Track is ON:
- Calls Inference API to create tracking trace
- Rewrites HTML links to Odoo redirect URLs (
/r/{code}/m/{trace_id}) - Inserts Odoo tracking pixel
- Updates Odoo
mailing.mailingrecord with final HTML body
- If Log is ON:
- Logs email to all selected contacts/companies/deals via
/si/log_emailRPC - Logs to sender's own profile
- Automatically BCCs
catchall@ottometric.comfor backup logging
- Logs email to all selected contacts/companies/deals via
- Stakeholder linking: If contacts + deals are selected, associates them in Odoo
- Gmail sends the email with all modifications applied
📊 Cost
| Component | Cost |
|---|---|
| Extension | Free (internal tool) |
| Odoo storage | Existing CRM quota (emails logged to Chatter) |
| Inference API | ~$0.001 per email (negligible) |
| Email tracking | Included in Odoo Email Marketing module |
Total: Effectively free (infrastructure already exists)
Ottometric Gmail Extension — Built for the Ottometric Sales Team