The Nylas Email API Makes Integrating with Office 365 Easy

The Nylas email API powers applications with bi-directional sync plus full native features from Office 365 and 100% of email service providers.

  • Node
  • Java
  • Python
  • Ruby
const Nylas = require('nylas');
Nylas.config({ clientId: CLIENT_ID, clientSecret: CLIENT_SECRET });
// Return all accounts connected to your Nylas App.
Nylas.accounts.list().then(accounts => {
    for (let account of accounts) {
        `Email: ${account.emailAddress} | `,
        `Billing State: ${account.billingState} | `


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)); Thread thread ) -> { 
      System.out.println( thread.getSubject() ); 


from nylas import APIClient
client = APIClient(
# .all() returns all threads that have been synced to Nylas
threads = nylas.threads.all(limit=10) # Limit and offset can be used to control pagination
for thread in threads:
    print("Subject: {} | Participants: {}".format(
        thread.subject, thread.participants


require 'nylas'
nylas =
    app_id: CLIENT_ID,
    app_secret: CLIENT_SECRET,
    access_token: ACCESS_TOKEN
account = nylas.current_account
    "Email: #{account.email_address} | " \
    "Provider: #{account.provider} | " 


Connect to Office 365’s Email API and Every Other Provider

The Nylas Email API gives you a secure, reliable connection to your users’ Office 365 accounts, as well as every other email service provider (Gmail, Microsoft Exchange, and the rest). With Nylas, you can sync historic and live email data into your application in real-time and get bi-directional email sync with full CRUD (create, read, update, delete) capabilities.

Integrate With the Office 365 Rest API Faster With Nylas

To build Office 365 mail sync yourself would take around 1,928 hours. With Nylas, it takes just a few hours for one engineer.

Bi-Directional Sync and Full CRUD

User’s email data syncs bi-directionally between their Office 365 Mail account to your app. With Nylas, users get full email features (cread, read, update, and delete, plus email analytics) natively within your application.

Webhook Notifications

User’s email data syncs bi-directionally between their Office 365 Mail account to your app. With Nylas, users get full email features (cread, read, update, and delete, plus email analytics) natively within your application.

99.9% Guaranteed Uptime

Get the peace of mind you need on your Office 365 integration. Nylas supports thousands of developers in more than 25 countries around the globe with 99.9% guaranteed uptime.

Avoid the Costs of an Office 365 Email Integration

As your platform scales and your user base grows, so do costs for directly maintaining the Office 365 integration, such as:

  • Open tracking
  • Link click tracking
  • Reply tracking
  • Nearly 100% email deliverability
  • OAuth support for maximum security
  • SSO Support for Okta and OneLogin

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 improve 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 Office 365 API?

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 Office 365 API?

You can access the Nylas Email API for Office 365 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 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 the Office 365 API?

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 the Office 365 API?

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

How is the Nylas API integration with the Office 365 API 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 the Office 365 API?

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 Office 365 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.