iCloud Mail Integration — Read-Only Access, Credential Security & Data Retention

Hi Nylas Community,

I’m evaluating Nylas for Kinazly, a privacy-focused family AI assistant preparing for an initial pilot of approximately 5–10 families.

We want to connect iCloud Mail accounts, retrieve relevant emails, and convert them into proposed calendar events, tasks, and reminders. All actions require explicit user approval.

We’ve reviewed the Nylas iCloud documentation and have a few technical questions before proceeding:

1. iCloud authentication and credential security

  • Does Nylas Hosted Authentication collect and manage the Apple app-specific password without exposing it to our application?

  • How are these credentials encrypted and protected? Is there documentation available describing credential storage and access controls?

2. Read-only access

  • Can an iCloud Mail grant be technically restricted to read-only operations?

  • If not, is limiting our application to message-list and retrieval APIs the recommended approach?

3. Message caching and retention

  • The documentation describes a default 90-day cache for iCloud/IMAP messages. Can this retention period be shortened or disabled?

  • Is it possible to prevent message bodies or attachments from being cached?

4. Disconnect and data deletion

  • When a user disconnects their iCloud Mail account, what happens to stored credentials, cached messages, attachments, and metadata?

  • What are the deletion timelines, including backups?

5. Integration architecture

We already have a TypeScript backend with email normalization, extraction, and a privacy-controlled Review workflow.

  • Would you recommend Nylas’s dedicated iCloud connector or generic IMAP for an email-only integration?

  • Are incremental synchronization and message-change webhooks available for both approaches?

We’re especially interested in whether Nylas can support strict retention and deletion requirements for a privacy-sensitive application.

We’ve also submitted a Sales inquiry, but would appreciate technical guidance from the community or Nylas engineering team.

Thanks!

Hello,

Thanks for your interest in Nylas and for the detailed questions. Here’s what I can share for each point.

1 - Authentication and credential security: With Hosted Authentication, the user enters their iCloud email and app-specific password on the Nylas login page, and your application receives a grant ID instead of the password. For an overview of how we protect customer data and our certifications (SOC 2 Type II, ISO 27001, ISO 27701, HIPAA and GDPR), see Nylas security. For more detailed documentation on credential storage and access controls, I’d recommend raising it in your Sales conversation so it can be covered as part of a security review.

2 - Read-only access: iCloud connectors don’t use scopes, so there isn’t a way to restrict an iCloud grant to read-only on the Nylas side. Limiting your application to the message list and retrieval endpoints is the right approach.

3 - Caching and retention: By default, Nylas caches messages on iCloud and IMAP accounts for 90 days after they’re received or created, and older messages can be read directly from the provider with query_imap=true. Requirements around shortening the retention period or excluding bodies and attachments from the cache would need to be reviewed with our Sales team, so I’d recommend including them in your inquiry.

4 - Disconnect and data deletion: When a user disconnects, your application can delete their grant through the API. Deletion timelines for stored data, including backups, are best confirmed through the same Sales and security review.

5 - Integration architecture: I’d recommend the dedicated iCloud connector. A generic IMAP grant only covers mail, while the iCloud connector also gives you access to iCloud Calendar and Contacts if you need them later. Message webhooks such as message.created are available for both, for messages within the 90-day cache window. Changes to older messages don’t trigger notifications. The iCloud provider guide covers setup and provider limits.

Let me know if you have any questions in the meantime.

Many thanks,
Samuel R.
Support Engineer, Nylas

Hi,

Thank you for the detailed response. This is very helpful as we evaluate iCloud Mail and Calendar integration for Kinazly.

For context, Kinazly is an AI-powered family assistant that helps families organize events, tasks and commitments from information they receive. Our initial requirement is read-only access to relevant information, with explicit user confirmation before anything is added or changed within Kinazly.

Before deciding on an integration approach, we’d appreciate clarification on a few outstanding points.

1. Data retention and minimization

  • Can the default 90-day iCloud message cache be reduced, ideally to 14–30 days?

  • Can message bodies and attachments be excluded from persistent caching, or fetched only when needed?

  • After grant deletion, what are the deletion timelines for credentials, message content, attachments and backups?

  • Can these commitments be included in contractual terms or a data processing agreement?

2. Authentication and permissions

  • Can write-capable Mail, Calendar and Contacts operations be disabled for our Nylas application or API credentials?

  • What protections prevent unauthorized use of write-capable operations when provider-level read-only scopes are unavailable?

  • Does Nylas support Apple’s newer account-based authorization experience for supported third-party iCloud apps, or is the app-specific-password flow mandatory for your iCloud connector?

  • Can the iCloud connector be configured to enable Mail only initially, without accessing Calendar or Contacts?

3. Credential security

Could your security team provide documentation on encryption and storage of app-specific passwords, credential access controls, audit logging, incident notification, and relevant subprocessors? We don’t require proprietary implementation details, but would appreciate evidence suitable for our vendor security review.

4. Pricing and pilot

We are evaluating an initial pilot of approximately 10 families, with the possibility of expanding across Canada and the US before broader international availability.

Could you share minimum commitments, per-connected-account pricing, webhook or API charges, and whether a startup or pilot arrangement is available?

5. Architectural recommendation

Would you recommend your dedicated iCloud connector for a read-only, event-extraction use case, or is there a lower-retention configuration better suited to privacy-focused applications?

We’d appreciate written clarification on these items before scheduling a commercial discussion.

Thanks again for your help.

Best regards,
Ayaz
Founder, Kinazly

On the read-only question: if Nylas can’t enforce it at the iCloud grant or API-key level, make it an architectural control rather than only a code convention. For the pilot, use a dedicated Nylas app/credential, put a small outbound proxy in front of the Nylas API that allows only message-list/retrieval routes, and deploy write-capable code paths separately or disabled. That reduces accidental writes but isn’t a substitute for Nylas-side guarantees; keep retention/deletion commitments in the Sales/security review. For email-only, generic IMAP is worth comparing because it avoids calendar/contacts surface, but verify webhook and incremental-sync parity first.

Hello Kinazly,

Thanks for the additional details on your use case. Here are answers to the points we can cover from Support. The commercial and contractual items need the Sales and security review.

1 - Read-only access: iCloud doesn’t use OAuth scopes, so the grant itself can’t be read-only. You can still enforce read-only on the Nylas side with Nylas IAM. It lets you issue least-privilege API keys bound to a single grant, with only read permissions such as messages.read. Any request outside those permissions is rejected with a 403. More details in the Nylas IAM docs. The proxy approach suggested above also works well as an extra layer.

2 - Mail only: The iCloud connector covers Mail, Calendar and Contacts, and there’s no setting to limit it to Mail. An IAM key with only message read permissions already blocks access to calendar and contacts data. If you’d rather not have that access at all, a generic IMAP grant covers mail only. The same 90-day cache behavior and message webhooks apply.

3 - Authentication: Apple requires an app-specific password for third-party access to iCloud accounts, so that’s the supported flow today. With Hosted Authentication, the user enters it on the Nylas login page and your app only receives a grant ID.

4 - Retention and deletion: The default cache is 90 days. Shortening it, excluding message bodies or attachments, deletion timelines after grant deletion, and including these in contract terms or a DPA all need the Sales and security review.

5 - Security documentation and pricing: Our compliance overview is on the Nylas security page. For the vendor security review documents, pilot pricing and per-account costs, I’d recommend following up on the Sales inquiry you submitted. They can cover these in writing.

Let me know if you have any questions in the meantime.

Many thanks,
Samuel R.
Support Engineer, Nylas