

If you want to add more than one user account to your app, you can’t use the Quick Start app that Nylas provides. You need to create an app in the Nylas dashboard any time you’re starting a new project. Create an app in the Nylas dashboard for use with this project Airplay Receiver uses port 5000, which will cause you problems with your app if you don’t make this change. Follow these steps to check and shut it off. If you get an error where you aren’t authorized to access localhost:5000, check to be sure you don’t have Airplay Receiver turned on for your Mac.

By default, Flask runs on localhost:5000.
#Nylas mail privacy for mac
NOTE FOR MAC USERS: This is a Flask project.

It’s a lot to get through, however at the end you’ll have a running sample application that you can use for a variety of interesting projects involving Nylas hosted authentication! Prerequisites
#Nylas mail privacy update
Update your config.py with your Nylas credentials.Clone the Python examples repository and navigate to the sample app.Create an app in the Nylas dashboard for use with this project.The set of steps we’re going to cover will include how to: At the end, we will do a walkthrough of what’s included in the code, which may be helpful for understanding what you’re setting up. We’ll go over possible issues you may encounter and go through all the steps you need to take. Together we will walk through setting up the Hosted Authentication sample application that’s available using the Python SDK ( click here for the hosted-oauth repository). This type of authentication is best for when you don’t mind including Nylas branding in your flow (you have to use our login page) and you want the process handled for you. We will auto-detect third-party providers and management of token exchanges. What we mean by hosted authentication, is that Nylas handles as much as possible for you. If you’re trying out a set up for the first time, the easiest type of authentication Nylas offers is called hosted authentication. The process of setting up your first sample app with authentication can be a bit daunting.
