One Email API.
Every Provider.

Connect your application to your users’ inboxes. No custom code required.

  • Node
  • Java
  • Python
  • Ruby
import Nylas from 'nylas';
Nylas.config({
    clientId: CLIENT_ID,
    clientSecret: CLIENT_SECRET
});
var nylas =  
    Nylas.with(ACCESS_TOKEN);
nylas.threads
    .count({in:'inbox'})
    .then(count => {
        console.log(`There are ${count} threads in your inbox.`);
    });

 

public class Email {
  public static void main (String[] args) throws Exception {
    NylasAccount account = new NylasClient().account(ACCESS_TOKEN);
    List threads = account.threads().list(
      new ThreadQuery().unread(true));
    threads.stream().forEach(( Thread thread ) -> { 
      System.out.println( thread.getSubject() ); 
    });
  }
}

 

from nylas import APIClient
nylas = APIClient(
    CLIENT_ID,
    CLIENT_SECRET,
    ACCESS_TOKEN
)
threads = 
    nylas.threads.where(
        unread=True,
        limit=5
)
for thread in threads:
    print(thread.subject)

 

require 'nylas'
nylas = Nylas::API.new(
    app_id: CLIENT_ID,
    app_secret: CLIENT_SECRET,
    access_token: ACCESS_TOKEN
)
threads = 
    nylas.threads.search(
        "Hello!"
    )
threads.each do |thread|
    puts thread.subject
end

 

Extract Data from Any Email and Any Inbox

The Nylas Universal Email API gives you a secure, reliable connection to your user’s inboxes. Get real-time, bi-directional email sync, and full CRUD (create, read, update, delete) capabilities with a single integration. Access Gmail, Microsoft Exchange, Outlook.com, Yahoo! Mail, AOL, IMAP, and the rest with just a few lines of code. 

Quickstart Guide

Take the Pain Out of Email Integrations

One Modern, RESTful API

Integrate email data into your application with a single API that works with all providers.

Real-Time, Bi-Directional Sync

Sync data from any user’s account bi-directionally and in real-time.

Full CRUD Capabilities

Create, Read, Update, or Delete content from any email.

Easy-to-Use SDKs

Available for Python, Ruby, Java, and Node.js.

Save Thousands of Dev Hours

Connect to any inbox in the world with a single API. We remove the complexity of building and managing direct integrations so you can focus on building other things.

99.6% Deliverability

Bypass proxy sends to ensure your emails land in the inbox, not in SPAM.

Tracking & Analytics

Track performance metrics like opens, clicks and replies.

Service Accounts

Onboard enterprise customers faster with Service Accounts.

SSO

Supports identity providers with single sign on capabilities like Okta and OneLogin.

Data Residency

Choose from data centers in the US, CA, and the EU.

Sync Attachments

Access, modify, and sync data from any attachment.

Authentication Scopes

Granular authentication scopes improve security for your end-users.

Google OAuth Verification

Get the lowest rates on the Google OAuth security verification with Express Security Review.

BETA

Outbox Endpoint

Schedule and send emails with best-in-class deliverability without worrying about error handling.

Selective Sync

Set time-bound parameters for the data you sync.

Native & Hosted Auth

Build fully customizable, native authentication workflows.

Programmatic Webhooks

Efficiently create webhooks and reconnect automatically.

Programmatic Redirect URIs

Automatically generate customized redirect URIs.

Secure Integrations That Developers Can Trust

Nylas is SOC 2 Certified, Privacy Shield certified, GDPR compliant, HIPAA / HITECH compliant, and FINRA ready.

All user data is encrypted and isolated with multi-level permission checks, and you always have full control over what data you sync.

Learn More
  • Data Residency
  • SSO
  • World-Class Security Certifications
  • Token Management
  • Whitelisted IPs
  • Data Encryption
  • Authentication Scopes
  • Gated Permission Checks
Learn More

Solutions That Scale With Your Business

Nylas processes billions of API requests every day. We handle ongoing maintenance for any provider updates, so you never have to worry about breaking changes. Just set it and forget it.

99.9% Uptime Guarantee

Seamless API Versioning

Fast Sync and Syncback Times

View Platform Architecture

Thinking About Building Your Own Integration?

Calculate your savings with Nylas.
Get Estimate
0 Hours
0 Hours
0 Hours

FAQs

How do I get started with the Nylas Email API?

You can create a developer account with Nylas and sync up to 10 email accounts from different users for free using the Nylas Email API here.

Where do I access the Nylas Email API key?

You can access the Email API key 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 by granting Nylas access to their account. Your users will input their credentials and then be redirected back to your application.

What kinds of companies use the Nylas Email API?

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

What languages can I use to connect to the Nylas Email API?

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

How is the Email API secured?

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

What are the pricing options for the Nylas Email API?

You can sync up to 10 user’s email accounts for free throughout the duration of your Trial. 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.