HubSpot Installation Guide
Step-by-step guide to connect your HubSpot account to OptiMail.
Last updated: 2026-01-27
HubSpot Installation Guide
This guide walks you through connecting your HubSpot account to OptiMail for email deliverability monitoring.
Prerequisites
Before you begin, ensure you have:
- An active OptiMail account
- A HubSpot account with Marketing Hub Professional or Enterprise (for email features)
- Admin or Super Admin access to your HubSpot portal
Step 1: Navigate to Integrations
- Log in to your OptiMail account at app.optimail.ai
- Click on Integrations in the left sidebar
- Find the HubSpot card and click Connect
Step 2: Authorize HubSpot
- You'll be redirected to HubSpot's authorization page
- If you're not already logged in, enter your HubSpot credentials
- Select the HubSpot portal you want to connect
- Review the permissions OptiMail is requesting:
- Content access - To read your marketing email campaigns and statistics
- Click Grant access to authorize the connection
Step 3: Automatic Data Sync
Once you authorize the connection:
- OptiMail automatically syncs all your campaign data from HubSpot
- This includes all sent and published marketing emails with their statistics
- The initial sync begins immediately after authorization
- You'll be redirected back to OptiMail once the connection is established
Note: There's no need to configure sync settings - OptiMail automatically imports all your campaign data.
Step 4: Verify the Connection
To ensure everything is working:
- Go to your OptiMail Dashboard
- You should see HubSpot listed under Connected Platforms
- Wait a few minutes for the initial sync to complete
- Your HubSpot email campaigns should appear in the Campaigns section
Manual Sync
If you need to refresh your data:
- Go to Integrations in the left sidebar
- Find the HubSpot card
- Click the Sync button to manually trigger a data refresh
What Data Does OptiMail Access?
OptiMail reads the following data from HubSpot:
| Data Type | What We Use It For |
|---|---|
| Marketing emails | Track deliverability and performance |
| Email statistics | Analyze open rates, click rates, and engagement |
| Bounce data | Identify deliverability issues |
| Spam reports | Monitor sender reputation |
Note: OptiMail has read-only access and cannot modify your HubSpot data.
Troubleshooting Connection Issues
"Access Denied" Error
- Ensure you have Admin access to the HubSpot portal
- Check that your HubSpot subscription includes Marketing Hub
"Portal Not Found"
- Make sure you're logged into the correct HubSpot account
- Try disconnecting and reconnecting
Data Not Syncing
- Allow up to 15 minutes for the initial sync
- Use the manual Sync button to refresh data
- Verify your HubSpot portal has email campaigns
Connection Expired
HubSpot OAuth tokens expire periodically. If you see a "reconnection required" message:
- Go to Integrations in the left sidebar
- Click Reconnect on the HubSpot card
- Re-authorize access
Disconnecting HubSpot
To disconnect your HubSpot account:
- Go to Integrations in the left sidebar
- Find the HubSpot card and click Disconnect
- Confirm the disconnection
Note: Disconnecting will stop data sync but won't delete historical data in OptiMail.