⚠️ This document is here for the sake of posterity. The Nylas sync engine is no longer in the cloud.
The Nylas Cloud APIs don't support two-factor authentication with iCloud. However, you can still sync your account by creating an app-specific password and using it to login. Here's how to do it.