IMAP API to Read, Send & Sync Any Email Provider
Connect iCloud, Yahoo, ISP emails and any IMAP-compatible provider to your app through Unipile's unified Email API, with real-time webhooks and a single integration.
POST /new-email
Unlock Powerful Email Features Across All IMAP Providers
Unipile's IMAP API gives your platform full email capabilities, sync any inbox, send from any provider, and track engagement in real time, all through a single integration.
Sync Any IMAP Inbox
Connect iCloud, Yahoo, ISP providers and any IMAP-compatible server in real time, full thread history, folders, attachments, through one unified API endpoint.
Receive Email
Capture incoming messages from any IMAP inbox in real time on behalf of authenticated users, so every new reply lands in your platform instantly and keeps each thread in sync.
Send from Any Provider
Trigger outbound emails from your users' own IMAP accounts, replies, follow-ups, automated sequences, sent from their verified address regardless of the provider.
Track Engagement
Monitor email opens, clicks, and replies in real time to optimize your outreach strategy and follow-up timing.
Connect Any Mailbox, No Manual Setup Required
When a user logs in through hosted or custom auth, Unipile detects the provider's IMAP and SMTP settings automatically. And if a provider falls outside our extensive list, the details can still be entered by hand.
Automatic Server Detection
When a user connects through hosted or custom auth, Unipile detects the provider's IMAP and SMTP parameters, server, port and encryption, so they only need to enter their email and password.
Manual Setup as a Fallback
If a provider falls outside our extensive supported list, the user can fill in the specific server details themselves, so no mailbox is ever left out.
Unlock Advanced IMAP API Features
Go beyond basic email. List and sync folders from any IMAP provider, receive real-time webhook notifications and manage inboxes across iCloud, Yahoo, ISP and custom servers through a single API.
Connect any IMAP-compatible provider with Unipile's unified API
List and Sync IMAP Folders
Access and manage folders across any IMAP provider, iCloud, Yahoo, ISP or custom server, with Unipile's unified List and Get endpoints. No provider-specific code needed.
{
"event": "email.received",
"provider": "IMAP",
"account_id": "acc_7k3q2"
}
Real-Time Webhook Notifications
React instantly to IMAP email events without polling any server. Unipile fires webhooks the moment an email is received, opened or replied to, across all your connected providers.
Orchestrate IMAP, LinkedIn & WhatsApp in One Sequence
Let your users build automated outreach workflows that start from any IMAP provider, iCloud, Yahoo, ISP, and layer in LinkedIn and WhatsApp touchpoints. One API, any email server, every channel.
Send from real inboxes, land in the primary inbox
When your users send through their own Google, Microsoft, or IMAP accounts, every message carries native sender reputation and provider authentication. No shared relay, no rented domain, just trusted accounts reaching real people.
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
IMAP API Use Cases
Integrate iCloud, Yahoo, ISP and any IMAP provider into your platform. From recruiting to sales to outreach, give your users email automation at scale — regardless of their provider.
ATS Publisher
Let recruiters sync IMAP conversations with candidates directly in your ATS, iCloud, Yahoo or ISP.
ATS Use CaseCRM Publisher
Sync IMAP conversations into your CRM from any provider. Your users manage deals and follow-ups with full email context, no app switching required.
CRM Use CaseOutreach
Add IMAP email steps to multi-channel sequences. Send from iCloud, Yahoo or any ISP address with real-time open tracking and webhook notifications.
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
IMAP API Integration for Modern Apps
Connect iCloud, Yahoo, ISP and any IMAP server in minutes. No provider-specific code, no complex authentication flows. Send, receive, and track emails from any IMAP account with a single unified API.
Simple Integration
Send emails, sync inboxes, and list folders from any IMAP provider with a few lines of code. Our SDK handles authentication, token refresh, and provider-specific quirks automatically.
// Connect any IMAP provider 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 IMAP (iCloud, Yahoo, ISP…) await client.email.send({ account_id: accountId, to: [{ email: 'sophie@company.com' }], subject: 'Quick follow-up on our call', body: 'Hi Sophie, here is the proposal...', tracking: { opens: true, clicks: true } }); // List emails from any IMAP 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 any IMAP inbox through predictable REST calls — provider-agnostic.
Real-time Webhooks
Get instant notifications for new emails, opens, and replies from any IMAP provider. No polling required, zero latency regardless of the email server.
Universal IMAP Compatibility
One integration covers iCloud, Yahoo, ISP servers and any custom IMAP endpoint. No provider-specific SDKs, no separate credentials per server — a single API key handles them all.
Open & Click Tracking
Built-in email tracking with real-time webhook notifications. Know exactly when recipients open emails and click links, across all IMAP accounts.
Folders Sync Across Providers
Full access to folder structures from any IMAP server. List, get, and filter emails by folder to mirror inbox organization directly in your app.
Attachments Support
Send and receive emails with attachments — PDFs, images, documents. Full file support through a single unified endpoint, regardless of the IMAP provider.
Simplifying IMAP with Unipile
IMAP does not provide an HTTP-based API, requiring developers to work directly with its protocol commands and complexities. Unipile's IMAP API transforms this complex protocol into an accessible HTTP-based API, complete with webhook support and new value. By using Unipile, developers can bypass the challenges of implementing raw IMAP connections while ensuring efficient and real-time synchronization between the application and the user's email accounts.
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
Instagram