IMAP Email API - Hero - Unipile

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.

7-Day Free Trial
IMAP IMAP Connected
IMAP All IMAP
iCloud
Yahoo
ISP
CL
Claire Leroy 10:42 AM
iCloud — Invoice #2024-089 ready for review
New
TW
Thomas Weiss 9:14 AM
Yahoo — Project kickoff date confirmed
Synced
MF
Marc Fontaine Yesterday
ISP — Sequence step 2 delivered successfully
Sent
AB
Alice Barbier Yesterday
Custom IMAP — Follow-up after demo call
Synced
unipile-api · IMAP
POST api1.unipile.com/api/v1/emails
-H 'X-API-KEY: your_api_key'
-d '{ "account_id": "imap_acct",
"to": "client@domain.com",
"subject": "Follow-up",
"body": "Hello..." }' // ✓ 200 OK
50+ Providers IMAP compatible
Real-time Webhooks
1 API Unified access
Email synced via IMAP API claire.leroy@icloud.com → Your App
Webhook fired
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.

IMAP IMAP Connected
Sophie Martin
Sophie Martin
IMAP Gmail LinkedIn iCloud
IMAP IMAP
Gmail Gmail
LinkedIn LinkedIn
Me
Me Monday, 9:22 AM
Hi Sophie, just checking in on the onboarding, did you receive all the documents we sent last week?
SM
Sophie Martin Monday, 11:45 AM
Yes, got everything, thank you! I've reviewed the contract and it all looks good. Ready to move forward whenever you are.
Reply to Sophie via IMAP...
Synced 50+ providers
Opened 3 times
Replied 2h 03m avg

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.

Connect your mailbox
Email address
sophie.martin@icloud.com iCloud detected
Server settings Auto-filled
IMAP imap.mail.me.com 993 / SSL
SMTP smtp.mail.me.com 587 / TLS
Password
••••••••••••
Connect mailbox
Provider not in our list? Enter the server settings manually.

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.

IMAP API Advanced Features - Unipile

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.

IMAP IMAP Universal
iCloud Mail
Yahoo Mail
ISP Providers
+ Any IMAP server

Connect any IMAP-compatible provider with Unipile's unified API

IMAP Synced
IMAP Folders — All Providers
IMAP
Inbox iCloud 187 Synced
IMAP
Sent Yahoo 54 Synced
IMAP
Clients ISP 72 Synced
IMAP
Follow-up Custom 29 Synced
IMAP
Prospects iCloud 43 Synced
5 folders synchronized across 4 IMAP providers

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.

Retrieve all IMAP folders and subfolders from any provider with a single API call
Filter and paginate emails by folder for targeted inbox management
Mirror custom folder structures into your CRM, ATS or outreach platform
Build Now
Live Events
Webhook Events — IMAP
IMAP
New Email Received
From: claire.leroy@icloud.com
NEW
IMAP
Email Sent
To: thomas.weiss@yahoo.com
SENT
IMAP
Email Opened
thomas.weiss@yahoo.com — 3 opens
OPENED
IMAP
Reply Received
From: thomas.weiss@yahoo.com
REPLIED
POST /webhook
{
 "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.

Instant alerts on new emails, opens and replies across all IMAP providers
No polling needed — reduce infrastructure load and latency
Trigger CRM updates, sequences and automations on every email event
Build Now
IMAP Multi-Channel Sequence - Unipile
Your App
IMAP LinkedIn WhatsApp
IMAP Outreach — Multi-Provider Campaign Running
Step 1/5
IMAP
Day 1 Sending…
IMAP Cold Outreach
Personalized intro via iCloud / Yahoo / ISP
Subject: Quick question about your email workflow — Hi Sophie, I noticed your team handles a high volume of customer emails across multiple providers. We help automate…
LinkedIn
Day 3 Pending
LinkedIn Connection
Invite + reference to email sent
Hey Sophie, reached out by email about your team's inbox setup. Would love to connect here and show how we unify IMAP providers in one API.
IMAP
Day 5 Pending
IMAP Follow-up
Case study + social proof
Subject: Re: Quick question about your email workflow, Here's how Nexio cut inbox handling time by 55% by switching to a unified IMAP API integration…
Day 8 Pending
WhatsApp Check-in
Quick personal touch if no reply
IMAP
Day 12 Pending
IMAP Closing Email
Final offer + booking link
Subject: Last chance — free pilot closing Friday. Book your 15-min demo → calendly.com/unipile-demo
1Sent
1Opened
0Replied
4Pending
Multi-Channel Sequences

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.

IMAPIMAP LinkedInLinkedIn WhatsAppWhatsApp
50+ IMAP providers supported
3x More replies
Build Now
Deliverability

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.

Native sender reputation from real, warmed accounts
SPF, DKIM and DMARC signed by the provider
Primary inbox placement, not the spam folder
No third-party relay between send and inbox
Build Now
Recipient inbox
Delivered
Primary Spam 0
SO
Sales Outreach now
Quick question about your outbound stack
Inbox
NW
Newsletter 9:24
Your weekly product digest is ready
TM
Team 8:10
3 new comments on your shared file
Native delivery rate 0%
Sent from your user's own account
Gmail Outlook IMAP
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

3 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

Send / Receive

3 endpoints available

Gmail Gmail
Outlook Outlook
IMAP IMAP
Send an Email
Reply to an Email
List Emails

Organize

4 endpoints available

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

Webhooks

2 events available

Gmail Gmail
Outlook Outlook
IMAP IMAP
New Email
Open and Click tracking
IMAP API Use Cases - Unipile
Use Cases

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.

Your ATS
Candidates Jobs
Candidate Job Via Received
Thomas Weller
Senior Dev
IMAP
2 hours ago
Clara Fontaine
UX Lead
IMAP
5 hours ago
James Carter
Marketer
IMAP
1 day ago
Anna Kim
Designer
IMAP
2 days ago

ATS Publisher

Let recruiters sync IMAP conversations with candidates directly in your ATS, iCloud, Yahoo or ISP.

ATS Use Case
Your CRM
Contacts Deals
Contact Company Via Status
David Wong
NexaTech
IMAP
Responsive
Sophie Laurent
Synthex
IMAP
Interested
Marc Peters
Orbix
IMAP
Proposal
Julia Chen
Quark
IMAP
Won

CRM 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 Case
Your Outreach Tool
Sequences Contacts
Sequence Step Channels Status
1
Thomas - Intro Email + Calendar
Email Calendar
Live
2
Clara - Multi-channel LinkedIn + WhatsApp
LinkedIn WhatsApp Email
Live
3
Marc - Schedule Email + Calendar
Email Calendar
Paused
4
Anna - Demo Calendar + Email
Calendar Email
Draft

Outreach

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 Case

Build 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.

How many accounts?
5.00
/account/month
How accounts are calculated Pricing is based on the number of linked accounts. For example, 3 Emails + 2 LinkedIn + 6 WhatsApp accounts would cost 55€ (11 x 5€) (or $60.5, 11 x $5.5). No additional cost by request. We have minimum of 49€/month ($55), including up to 10 accounts.

What's included

check
One API. All channels
Linkedin, Instagram, Email, WhatsApp...
check
All Features
Outreach, Real-time Inbox, Enrichment...
check
Unlimited usage
Only providers limit apply.
check
7-Day Free Trial
Build Now
Cancel anytime. No credit card required
IMAP API Developer Features - Unipile
Built for Developers

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.

imap-integration.js
// 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
});
IMAP
IMAP
iCloud
Yahoo
ISP
One Unified API

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.

Key Advantage

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.

IMAP Simplified - Unipile
IMAP Protocol

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.

Raw IMAP Protocol
Complex
Work with raw socket commands
Implement IMAP protocol directly — FETCH, SELECT, SEARCH, STORE over TCP sockets, parse byte streams and multipart MIME manually
Build polling logic — IMAP has no webhooks
IMAP protocol has no push notification mechanism. Constant polling is required to detect new emails, causing high server load and latency
High resource cost
Handle provider-specific quirks separately
iCloud, Yahoo, ISPs and custom servers each behave differently — separate auth flows, error handling and edge cases per provider
Manage auth mechanisms per server
Each IMAP server uses different auth — PLAIN, LOGIN, XOAUTH2. Handle credential storage, session expiry and re-authentication yourself
No HTTP API, no tracking, no new value
Zero native support for open/click tracking. No REST interface — every single feature requires a separate low-level protocol implementation
Weeks of development
Complexity level Very High
With Unipile IMAP API
Simple
Sign Up & Get API Token
Create your Unipile account and generate credentials from the dashboard — no protocol knowledge required
5 minutes
Connect Any IMAP Account via Hosted Auth
Your users enter their credentials once through Unipile's hosted auth link. iCloud, Yahoo, ISP — all providers handled automatically
1 click for your users
Send, Receive & Sync via REST API
Standard HTTP calls with JSON responses — send emails, list folders and fetch messages from any IMAP provider with identical endpoints
~1–2 hours to integrate
Real-time Webhooks + Open Tracking Built-in
Instant push notifications for new emails, replies, opens and clicks. No polling, no extra infrastructure — Unipile handles everything
Zero polling required
HTTP API over raw IMAP protocol
Protocol abstraction layer
Key Advantage
Unipile acts as a translation layer between the raw IMAP protocol and your application. You write clean HTTP code — Unipile handles all IMAP complexity underneath.
50+ IMAP providers — iCloud, Yahoo, ISP, custom servers — one unified API key
Real-time webhooks replace polling — instant sync with zero infrastructure overhead
Open & click tracking included — no separate tracking system to build or maintain
Complexity level Simple REST calls
Ready to skip raw IMAP forever?
Connect iCloud, Yahoo, ISP or any IMAP server in minutes. Unipile handles auth, sessions, sync and webhooks — you focus on your product. Read the IMAP API documentation →
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
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
Try for free
Dashboard Demo
Discover More API Suite - IMAP Page - Unipile

Discover More from Our API Suite

Beyond IMAP, Unipile connects your product to Outlook, Gmail, WhatsApp, LinkedIn, and calendars. Build a complete communication layer with a single unified API.

WhatsApp
LinkedIn
Instagram
Telegram

Messaging API

Connect WhatsApp, LinkedIn, Instagram, and Telegram to send messages, sync conversations, and manage contacts. Build unified inbox, outreach, and social selling features in your app.

Gmail
Outlook

Email API

Integrate Gmail and Outlook to send, receive, and sync emails in real time. Build powerful email features with open tracking, threading, and full attachment support.

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.

3000+ 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
Unipile - IMAP API FAQ

IMAP API — Frequently Asked Questions

Everything you need to know about integrating Unipile's IMAP API into your product

Unipile's IMAP API lets your app send, receive, sync, and manage emails from any IMAP-compatible provider — iCloud, Yahoo, ISP servers, and custom email hosts — through a single REST API. It covers fetching messages, managing folders, sending emails with tracking, and receiving real-time webhook notifications. No raw protocol handling required.
IMAP is a complex low-level protocol with no native HTTP interface, no webhooks, and no tracking. Unipile abstracts all of that into clean REST endpoints — so you get real-time sync, open & click tracking, folder management and authentication across 50+ IMAP providers, without writing a single line of IMAP protocol code.
The API enables seamless synchronization of email data across all IMAP-compatible providers through identical REST endpoints. You can pull structured JSON responses, filter by folder, search messages, and push data directly into your CRM, ATS or outreach tool — without managing provider-specific quirks or separate authentication flows for each server.
Your CRM users can connect their personal or business IMAP inbox — iCloud, Yahoo, ISP — and have all email conversations automatically synced within your platform. No more copy-pasting emails or switching apps. Webhook events let you trigger CRM updates the moment a reply arrives, keeping contact timelines 100% accurate in real time.
IMAP API integration delivers value across sectors: Recruiting platforms can sync candidate email threads directly in their ATS. Sales tools can automate follow-up sequences from any email provider. Customer support platforms can unify inboxes from iCloud, Yahoo and ISP accounts into a single queue. iPaaS and no-code builders can expose email triggers and actions for any IMAP server.
Yes. By giving your users a 360-degree view of all email interactions — regardless of their provider — and ensuring no message goes unnoticed via real-time webhooks, Unipile's APIs can significantly increase Customer Satisfaction (CSAT) scores. Faster response times, complete conversation history, and zero missed emails translate directly into better customer experience.
Start by creating a free account — no credit card required. You'll get an API token and access to a hosted auth link so your users can connect their IMAP accounts in one click. From there, follow our step-by-step documentation to send your first email, list folders, and set up webhooks. Most developers are up and running in a few hours.
Unipile's APIs are built to accelerate product development and reduce ongoing maintenance. You get a unified interface covering all communication channels — email, messaging, calendar — so your team writes less code, ships faster, and doesn't have to maintain separate integrations per provider. Proactive maintenance on our end means provider changes never break your product.
You can start using Unipile's IMAP API for free with a 7-day trial — no credit card required. During this period, you get full access to all features: send & receive emails, folder sync, webhooks, open tracking, and all 50+ IMAP providers. Visit our pricing page for full plan details.
To stay compliant with IMAP provider terms and avoid account issues, implement sending limits on your side — control the volume of emails sent per account per day. Unipile also enforces its own rate limits and usage policies. Avoid bulk unsolicited sending, respect provider-specific quotas (iCloud, Yahoo and ISPs all have daily limits), and use our webhook system instead of aggressive polling to minimize unnecessary server requests.

Still have questions? Our team is here to help.

en_USEN