The Most Reliable API for Integrating With IMAP

The Nylas APIs enable your integration with 100% of email service providers built on IMAP, including AOL, Yahoo, GoDaddy, and the rest.

  • Node
  • Python
  • Ruby
import Nylas from 'nylas';
   clientId: CLIENT_ID,
   clientSecret: CLIENT_SECRET,
const nylas = Nylas.with(ACCESS_TOKEN);
// Get all threads that meet a specified search criteria'Debrief').then(threads => console.log(threads));


from nylas import APIClient
nylas = APIClient(
# Filter for the 5 most recent unread threads
for thread in nylas.threads.where(unread=True, limit=5):


require 'nylas'
nylas =
   client_id: CLIENT_ID,
   client_secret: CLIENT_SECRET,
   access_token: ACCESS_TOKEN
# Filter for the 5 most recent unread threads
threads = nylas.threads.where(unread: true).limit(5)
threads.each{ |thread|


Nylas Handles the Complexity of IMAP So You Don’t Have To

Nylas abstracts away the complexity of IMAP protocols so you can build native email with ease. Save time and money by integrating with a modern REST API that allows you to instantly add feature-rich email capabilities to your application.

All of the Features of IMAP Integrations, None of the Hassle

Integrating directly with IMAP accounts without Nylas would take around 3,280 hours. With Nylas’ modern REST API, you can integrate in just a few days.

One Integration, Every Provider

The Nylas API allows you to sync not only email data into your application in real-time but calendar and contact data from every provider as well.

Hosted and Native Authentication

Freedom to choose between a secure login experience hosted by Nylas or one where users can log in directly in-app without ever needing to redirect to Nylas.

Dependable Deliverability

Nylas sends mail through the account’s original SMTP/ActiveSync gateway, which means messages sent through Nylas have very high deliverability.

Avoid the Costs of IMAP Integration

As your platform scales and your user base grows, so do costs for directly maintaining the IMAP integration. Nylas handles these for you, including costs for:

  • Operating servers
  • Keeping track of when new incoming messages into the inbox
  • Storing deleted and purging expunged messages
  • Troubleshooting bugs

The Nylas APIs abstracts away the ongoing maintenance tasks for you. Our API comes with out-of-the-box security certifications, and we power even more granular scopes than most providers to enhance security for your end-users.

Calculate Your Savings With the Nylas APIs »

With Nylas, Everything is Secure. Everything is Connected.

Security is our top priority — we sweat the small stuff so you don’t have to. Nylas is SOC 2 Certified, Privacy Shield certified, GDPR compliant, and HIPAA and FINRA ready. Data from every email you sync is encrypted and isolated with multi-level permission checks.

Learn How
  • World-Class Security Certifications
  • Token Management
  • Whitelisted IPs
  • Data Encryption
  • Granular Authentication Scopes
  • Gated Permission Checks
Learn How


How do I know how much time and money I’m saving with the Nylas API?

You can calculate exactly how much time and money you can save with our savings calculator.

How do I get started integrating with the AOL API and Yahoo mail?

You can create a developer account with Nylas and sync up to 10 accounts for free here.

Where do I get the access key that allows me to begin integrating with the AOL API and Yahoo mail?

You can access the key that allows you to begin integrating with both the AOL API and Yahoo mail directly from your Nylas dashboard. One key unlocks access to any email provider in the world! Exciting, we know.

How do my users activate email sync?

Your users can kick-start full email sync simply authenticating access. Your users will input their credentials and then be redirected back to your application.

What kinds of companies use the Nylas API to integrate with IMAP?

Learn how customers in the CRM, ATS, automotive, finance, and legal industries use the Nylas Email API on our case studies page.

What languages can I use to integrate with IMAP?

We provide SDKs that make it easy to integrate your app using PythonNode.js, or Ruby, or you can use a different language of choice to connect to our RESTful API.

How is the Nylas API integration with IMAP secured?

The Nylas Email API encrypts 100% of your data with military-grade security standards. In addition, Nylas is GDPR compliant, SOC 2 compliant, and HIPAA and FINRA ready.

What are the pricing options for integrating with IMAP?

You can sync up to 10 accounts for free. After that, pricing is based on the number of accounts you have synced; you can view our pricing page for more details.

Additional questions about building your email integration?

Check out our comprehensive Getting Started Guide.

Can I integrate Yahoo calendar or AOL calendar and contacts as well?

Once your account authenticates with Nylas and our sync server detects the account, we will automatically start syncing mail, calendar, and contact data if you passed in the calendar and contact scopes when authenticating.