Gmail API to Send, Sync & Manage Emails in Your App
Integrate Gmail into your software through Unipile's unified Email API. Send, receive, track and sync emails with real-time webhooks, skip months of direct Google API complexity.
7-Day Free Trial
POST /new-email
Boost Client Retention with Advanced Gmail API Features
Our Gmail API enhances your CRM with features that boost client retention by streamlining email from Gmail, improving engagement without app switching.
Retrieve Email
Confidently retrieve work-related emails from any professional Gmail inbox, while maintaining the user's personal data privacy.
Send Email
Send emails directly from your platform via Gmail, ensuring consistent, professional outreach that aligns with your user's workflow.
Track Engagement
Monitor email opens, clicks, and replies in real-time with webhooks to optimize your outreach strategy.
Unlock Advanced Gmail API Features
Go beyond basic email. Access Gmail labels, real-time webhook notifications and Google Workspace integration through Unipile's unified API.
Access Google Classic and Workspace features with Unipile's API
List and Get Gmail Labels
Efficiently manage and navigate through Gmail labels with API's 'List' and 'Get' features, streamlining email organization for your users.
{
"event": "email.received",
"provider": "GMAIL",
"account_id": "acc_7x9k2"
}
Real-Time Webhook Notifications
Webhooks enable your application to get alerts automatically when specific Gmail events happen. They're straightforward to implement and effortlessly scale as your needs expand.
Orchestrate Gmail, LinkedIn & WhatsApp in One Sequence
Let your users build automated outreach workflows that start with Gmail and combine LinkedIn and WhatsApp touchpoints, all powered by a single API. Each step fires at the right time, on the right channel.
Email API Capabilities
Integrate Gmail, Outlook, and IMAP email providers through a single unified API. Send, receive, organize, and track emails across all major providers with consistent endpoints.
Account Connection
3 endpoints available
Send / Receive
3 endpoints available
Organize
4 endpoints available
Webhooks
2 events available
Gmail API Use Cases
Integrate Gmail into your platform. From recruiting to sales to outreach, give your users professional email communication at scale.
ATS Publisher
Let recruiters sync Gmail conversations with candidates. Faster scheduling, fewer missed replies, more placements.
ATS Use CaseCRM Publisher
Sync Gmail conversations into your CRM. Your users manage deals and follow-ups with full email context, no app switching.
CRM Use CaseOutreach
Add Gmail email steps to multi-channel sequences. Professional outreach with 99.5% delivery rate and open tracking.
Outreach Use CaseBuild Features into Your Product Today
Try our White-Label solution for free and unlock its full potential for your business. With the 7-Day Free Trial, gain access to the complete suite of features designed to enhance your platform's capabilities and branding.
What's included
Gmail API Integration for Modern Apps
Connect Gmail accounts in minutes. Simplified Google OAuth, no complex scopes management. Send, receive, and track emails from your codebase with a unified API.
Simple Integration
Send emails, sync inboxes, and manage folders with a few lines of code. Our SDK handles OAuth, token refresh, and session management automatically.
// Connect to Gmail in seconds import { UnipileClient } from 'unipile-node-sdk'; const client = new UnipileClient({ dsn: 'https://api.unipile.com', token: process.env.UNIPILE_TOKEN }); // Send an email via Gmail await client.email.send({ account_id: accountId, to: [{ email: 'elena@acme.com' }], subject: 'Quick follow-up on our call', body: 'Hi Elena, here is the proposal...', tracking: { opens: true, clicks: true } }); // List emails from inbox const emails = await client.email.list({ account_id: accountId, folder: 'INBOX', limit: 50 });
RESTful API
Clean, standardized endpoints with JSON responses. Send emails, list folders, and manage labels through predictable REST calls.
Real-time Webhooks
Get instant notifications for new emails, opens, clicks, and replies. No polling required, zero latency on events.
Simplified Google OAuth
Skip the complex Google OAuth setup. Unipile handles the entire authentication flow: consent screens, token refresh, scope management, and security reviews. Your users connect Gmail in one click.
Open & Click Tracking
Built-in email tracking with real-time webhook notifications. Know exactly when recipients open emails and click links.
Labels & Folders Sync
Full access to Gmail labels and folder structures. List, get, and filter emails by label to organize inbox data in your app.
Attachments Support
Send and receive emails with attachments — PDFs, images, documents. Full file support through a single unified endpoint.
Google OAuth, Simplified
Google OAuth verification is complex, consent screens, security reviews, CASA assessments, annual re-certifications. Unipile handles all of it, including the security compliance, so you can focus on building.
One dashboard for all your integrations
Manage all your LinkedIn, WhatsApp, Gmail accounts and more from a single, intuitive interface.
Accounts
03/01/2025
02/15/2025
02/10/2025
03/01/2025
02/28/2025
02/20/2025
03/01/2025
02/25/2025
03/01/2025
02/22/2025
02/14/2025
02/12/2025
02/08/2025
02/05/2025
03/01/2025
02/15/2025
03/01/2025
02/22/2025