A Better Way to Integrate With the Microsoft Exchange Email API

The Nylas Email API Powers Apps With 100% of Email Service Providers

exchange_email_image

Microsoft Exchange is one of the leading email service providers with hundreds of millions of active users and counting. Building an integration to connect your application to Exchange can be tricky though — there are multiple protocols and the docs are dense. The Nylas Email API eliminates the headache of integrating with Exchange both on-prem and in the cloud, and gives you a dependable platform to future-proof your application.

exchange_email_image

Nylas Lets You Integrate with the Exchange Email API in 4 Lines of Code

There are three protocols you can use to integrate with Exchange: EWS, EAS, and IMAP. While EWS is the newest of the three protocols, it can fall short of the modern development standards you expect from mission critical tools like email.

The Nylas API sits on top of Microsoft Exchange's infrastructure, helping you get full email CRUD and bi-directional sync with as little as four lines of code.

    
import Nylas from 'nylas';   Nylas.config({ appId: APP_ID, appSecret: APP_SECRET, });   var nylas = \Nylas.with(ACCESS_TOKEN);   nylas.threads .count({in:'inbox'}) .then(count => { console.log( `There are ${count} events in your inbox.` ); });
    
from nylas import APIClient   client = APIClient( APP_ID, APP_SECRET, token, ) threads = \client.threads.where( unread=True, limit=5, )  for thread in threads: print(thread.subject)
    
require 'nylas'   nylas = Nylas::API.new( app_id: APP_ID, app_secret: APP_SECRET, access_token: ACCESS_TOKEN )   threads = nylas .threads.search("Hello!")   threads.each do |thread| puts thread subject end
icn_1-1

The Burdens of Building With Exchange Directly

Development cycles are precious. They should be spent programming, not pouring through dense docs.

Crafting Exchange protocols to fit your unique needs requires writing business logic in WBXML so Microsoft’s API can wrap commands to send to Exchange servers. 

When building directly on the Exchange platform, you’re responsible for brokering negotiations between different versions of EAS and EWS. The server-side issues are vast, including things like: intermittent processing issues, mailboxes that won’t sync, and granting administrator privileges from Office 365.

These problems are only magnified as you scale. Each new server requires another dependency. Troubleshooting errors for new users syncing email accounts can turn the maintenance of your EAS integration into a full-time job.

Nylas does things differently. With the Nylas Email API for Exchange, you get production-ready, flexible code in the programming language that best suits you, so you can engineer your email stack to your specifications.

Scaling Exchange Functionality on the Nylas Email API

scaling_exchange_functionality_illustration

We built our own Exchange/ActiveSync integration to simplify the integration process for developers around the world. While Microsoft’s Exchange ActiveSync (EAS) was designed in 2003 for legacy mobile applications, the Nylas email API is designed for the modern business and the modern developer.

 

scaling_exchange_functionality_illustration
img_pipedrive-2

pipeDrive-logo

“Nylas allowed us to integrate with Office 365, Outlook, Exchange, and IMAP email providers in a scalable way.

The new features we built with the Nylas API help users understand each contact, opportunity, or deal at a glance - and because they don't have to switch to another app to communicate, they can be much more productive and close deals faster.

Nylas made it easy for us to deliver great email features that are also secure, reliable, and scalable.”

headshot_timorein
Timo Rein
Co-founder and CEO at Pipedrive

Pipedrive is a CRM and sales enablement software that uses Nylas to power their platform with two-way email sync and send. The added features help funnel sales prospects through the process quickly, leading to millions of dollars in revenue.

Ready to Start Building?

FAQ

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 language is the Nylas Email API built on?

Python! We love Python at Nylas; it’s reliable and robust, just like our Email 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 for 30 days. 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.