EN

Email API to Sync, Send & Receive Emails in Your App

Connect Gmail, Outlook, and IMAP through a single unified API. Enable multi-account email integration in your app with real-time sync, webhooks, and full inbox management.

7-Day Free Trial

Your App
3 accounts synced
GmailGmail
OutlookOutlook
IMAPIMAP
Unified inboxAll accounts
Sarah MitchellGmail
Sarah Mitchell9:41 AM
Contract renewal
Hi John, the signed contract is attached.
James ChenOutlook
James Chen9:12 AM
Q1 roadmap review
Can we move our call to Thursday at 3pm?
Mery YardIMAP
Mery Yard8:55 AM
Order #2048 confirmed
Delivery is planned for Monday morning.
Lucas MartinGmail
Lucas MartinYesterday
March invoice
Here is the invoice for last month, thanks!
Emma WilsonOutlook
Emma WilsonYesterday
Onboarding call
Great talking today, next steps are below.
Supported Providers

Connect Any Email Provider

Seamlessly integrate Gmail, Outlook, or any IMAP server with dedicated APIs optimized for each platform.

Gmail API Integration

Gmail API

Full access to Gmail features including labels, threads, attachments, and real-time sync via Google OAuth.

OAuth 2.0 authentication
Labels & thread management
Push notifications via webhooks
Outlook API Integration

Outlook API

Connect Microsoft 365 and Outlook.com accounts with native Graph API integration and folder sync.

Microsoft Graph integration
Folder & category sync
M365 & personal accounts
IMAP API Integration

IMAP API

Universal email support for any IMAP-compatible provider including Yahoo, Zoho, ProtonMail, and custom servers.

Any IMAP server support
Secure credential handling
Full mailbox synchronization
Email features

Boost Client Retention with Advanced Email API Features

Our Email API enhances your CRM with features that boost client retention by streamlining email from Gmail, Outlook, etc., improving engagement without app switching.

Your App
GmailGmailOutlookOutlookIMAPIMAP

Q1 order

Mery Yard
Mery Yardmery@northwind.io, to me
9:42 AM

Hi John, for next quarter we will need 2,000 units of the flagship model and 1,000 of the budget model. Best, Mery

JD
Youjohn@acme.com
10:05 AM

Thanks Mery! Here is the quote, happy to review it together on Thursday.

Quote_Q1.pdf
Opened 2 times, 1 click
Reply to Mery via Outlook...

Retrieve Email

Confidently retrieve work-related emails from any professional inbox, while maintaining the user's personal data privacy.

Send Email

Send emails directly from your platform, ensuring consistent, professional communication that aligns with your user's workflow.

Track Engagement

Monitor email opens, clicks, and replies in real-time with webhooks to measure engagement on every email.

Unify Email and Messaging Workflows

Build seamless engagement sequences across email and messaging channels for your users.

Your App
Active
Onboarding sequence
Elena Rossi
Elena RossiHead of Operations, Brightline
  • 1
    GmailWelcome emailOpenedDay 1
  • 2
    LinkedInLinkedIn messageDay 3
  • Wait for a replyUp to 5 days
  • 3
    GmailFollow-up emailDay 8
Your App
Paused
Re-engagement sequence
James Chen
James ChenCTO, Northwind
  • 1
    OutlookCheck-in emailDay 1
  • 2
    WhatsAppWhatsApp messageDay 2
  • Wait for a replyUp to 3 days
  • 3
    OutlookLast emailDay 6

Competitive Advantage

Stand out with a dual-channel communication tool offering more engagement options than single-channel solutions.

Unified Engagement Solutions

Enhance your platform with unified communication tools that cover all engagement needs.

Email API

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.

Explore All Endpoints
Gmail Outlook IMAP
Account ConnectionAccount
Send / ReceiveSend
Organize
Webhooks

Account Connection

4 endpoints available

Gmail Gmail
Outlook Outlook
IMAP IMAP
Hosted Auth: White label email auth
Custom auth: Connect user with credentials
Use your App OAuth screen
Reconnect an Account

Send / Receive

5 endpoints available

Gmail Gmail
Outlook Outlook
IMAP IMAP
Send an Email
Reply to an Email
List Emails
Get an Email
Download an Attachment

Organize

4 endpoints available

Gmail Gmail
Outlook Outlook
IMAP IMAP
Delete Email
Move Email
List Folders
Get Folder

Webhooks

4 events available

Gmail Gmail
Outlook Outlook
IMAP IMAP
New Email
Open and Click tracking
Email Sent
Email Moved
Built for Developers

Email API Integration for Modern Apps

Connect all major email providers through a single API. Build faster, integrate efficiently, and deliver exceptional email experiences.

Simple Integration

Connect and sync emails with just a few lines of code. Our SDK handles authentication, syncing, and error handling.

email-sync.js
// Connect any email provider in seconds
import { UnipileClient } from 'unipile-node-sdk';

const client = new UnipileClient({
  dsn: 'https://api.unipile.com',
  token: process.env.UNIPILE_TOKEN
});

// Fetch all emails from connected accounts
const emails = await client.email.list({
  limit: 50,
  folder: 'inbox'
});

// Send email with tracking
await client.email.send({
  to: 'contact@example.com',
  subject: 'Hello from Unipile!',
  body: 'Your message here...',
  track_opens: true
});
Gmail
Outlook
IMAP
One Unified API

IMAP Simplified

Abstract away raw IMAP protocol complexity.

SOC 2 Certified

Enterprise-grade security with full compliance. Your users' data stays protected.

Google Verified

Casa Tier 2 Certified

Use our Google-verified developer account for OAuth. Unipile appears in the permission grant screen. Perfect for POC before your own certification.

Learn more about Casa Tier 2

Real-time Webhooks

Instant notifications for new emails, status changes, and events. No polling required.

Sandbox Environment

Test your integration risk-free with our sandbox. Debug with detailed logs and error tracking.

Unified Dashboard

One dashboard for all your integrations

Manage all your LinkedIn, WhatsApp, Gmail accounts and more from a single, intuitive interface.

/
Acme
/
Application
Documentation
API Reference
Changelog
Connect a new account
Select the type of account you
want to connect
LinkedIn
LinkedIn
WhatsApp
WhatsApp
Instagram
Instagram
Facebook
Facebook
Telegram
Telegram
Google
Google
IMAP
IMAP
Microsoft
Microsoft
Google Calendar
Google Calendar
Outlook Calendar
Outlook Calendar

Accounts

20 Operational
0 Authentication required
0 Service interruption
0 Paused
Name ID Status Linked
Operational Linked on
03/01/2025
Operational Linked on
02/15/2025
Operational Linked on
02/10/2025
Operational Linked on
03/01/2025
Operational Linked on
02/28/2025
Operational Linked on
02/20/2025
Operational Linked on
03/01/2025
Operational Linked on
02/25/2025
Operational Linked on
03/01/2025
Operational Linked on
02/22/2025
Operational Linked on
02/14/2025
Operational Linked on
02/12/2025
Operational Linked on
02/08/2025
Operational Linked on
02/05/2025
Operational Linked on
03/01/2025
Operational Linked on
02/15/2025
Operational Linked on
03/01/2025
Operational Linked on
02/22/2025
Build Now
Dashboard Demo

Discover More from Our API Suite

Beyond email, Unipile connects your product to social networks, messaging platforms, and calendars. Build a complete communication layer with a unified API approach.

LinkedIn
Instagram
Facebook

Social Media API

Access profiles, posts, comments, and engagement data from LinkedIn, Instagram and Facebook. Perfect for enrichment, social listening, or building audience insights into your platform.

LinkedIn
WhatsApp
Instagram
Facebook
Telegram

Messaging API

Connect LinkedIn, WhatsApp, Instagram, Facebook and Telegram messaging to send, receive, and manage conversations programmatically. Build unified inbox features into your app.

Google Calendar
Outlook Calendar

Calendar API

Sync Google Calendar and Outlook events in real time. Create, update, and manage meetings directly from your product. Ideal for scheduling features and CRM integrations.

6000+ Companies Innovating with Unipile
Trusted by industry leaders
1 API
Streamline operations for all major communication channels
2 Days
Achieve live integration quickly with minimal setup
30%
Reduction in maintenance efforts and resources

Built-In Security and Compliance

Enterprise-grade protection for your data and workflows Learn more about our security
SOC 2 Type II
SOC 2 Type II
Certified
Independently audited security controls ensuring data protection and operational integrity.
GDPR
GDPR
Compliant
Full compliance with European data protection regulations for user privacy.
99.9%
Platform Uptime over the last 24 months
24/7
Global Support with high-performance API

Email API FAQ

Everything you need to know about integrating Unipile's Email API into your platform

The Gmail API provides access to a massive user base of 1.5 billion worldwide users. By integrating it into your CRM, you can sync contacts effortlessly, eliminate manual data entry, and expand your reach to a significant portion of the global email user community.
The Email API streamlines data integration by enabling the retrieval and synchronization of contact data from Gmail and Outlook directly into your CRM, saving valuable development time and resources.
Unipile's Email API allows you to connect and unify all your email-related operations. It seamlessly integrates with services like Gmail and Microsoft Outlook, simplifying communication, offering in-depth data insights, and enhancing user engagement.
The Outlook API, with its 400 million user base, offers robust email and productivity tools. It allows businesses to establish bi-directional sync and enjoy full CRUD capabilities, providing powerful email functionalities that enhance productivity.
The IMAP API provides real-time access to email data, simplifying email handling, boosting productivity, and enhancing user experiences by seamlessly integrating email with various applications.
Absolutely, by providing a 360-degree view of interactions and ensuring no message goes unnoticed, Unipile's APIs can significantly increase your Customer Satisfaction (CSAT) scores.
Email API integration streamlines email communication across platforms like Gmail and Outlook, offering a consolidated view of interactions with customers, leads, and partners. This simplifies workflows and enhances productivity, benefiting various industries.
Unipile's APIs are user-friendly and easily integrated, even for non-coders. They accelerate product development, provide a hassle-free solution for communication requirements, and reduce maintenance stress with proactive maintenance. Feel free to contact us for more detailed API documentation and integration instructions.
Tell us about your project here. We look forward to discussing how Unipile can support your communication needs! Feel free to access our API documentation here.
You can start using Unipile's API services for free with a 7-day trial. No credit card is required, and during this period, you'll have full access to all features and functionalities, giving you the flexibility to explore our services without any commitment. Visit our pricing page for more details.
To prevent overuse of the Email API and maintain compliance, consider implementing usage limitations on your end to control the volume of messages sent by your users. This proactive approach helps avoid potential account issues and keeps your email usage compliant with provider guidelines.
Casa Tier 2 is a security certification required by Google for apps accessing sensitive Gmail data. Unipile is Casa Tier 2 certified, which means you can leverage our infrastructure without going through the lengthy and complex certification process yourself. This allows you to go live faster while maintaining full compliance with Google's security requirements.

Still have questions? Our team is here to help.