Sub topic 3
iCloud, IMAP, and Exchange: what each one syncs
This chapter explains how the three main account types differ in what they sync and how. It assumes you can open System Settings, that you have added at least one account to your Mac, and that you know what an Apple Account is. Adding accounts is covered in the previous chapter. Here the question is what happens after an account is added.
Why the account type matters
Mail, Calendar, and Contacts store almost nothing on their own. The server behind each account holds the real data, and the apps show and edit a local copy. The protocol the account uses decides which kinds of data can travel between the server and your Mac.
- iCloud is Apple's own service. It can sync mail, calendars, contacts, and more.
- IMAP (Internet Message Access Protocol) is an open standard for mail only. Providers such as Fastmail or a small web host use it.
- Exchange is Microsoft's server product, used by many companies and schools. It syncs mail, calendars, and contacts, and it adds server-side features such as free/busy lookups.
The same Mac can hold all three at once. Each account keeps its own data, and the apps merge them into one view.
What each type syncs
| Account type | Calendars | Contacts | Notes | |
|---|---|---|---|---|
| iCloud | Yes | Yes | Yes | Also syncs reminders, notes, and more |
| IMAP | Yes | No | No | Calendars and contacts need a separate service |
| Exchange | Yes | Yes | Yes | Policies are set by the server administrator |
Some providers, such as Google, list a mail account together with calendar and contact support in Internet Accounts. Behind the scenes these use other protocols for calendars (CalDAV) and contacts (CardDAV). The Mac treats them as one account, so you can think of them like a combined account.
iCloud accounts
An iCloud account syncs by pushing changes. When you edit something on one device, the server notifies your other devices, which fetch the change. In practice, a new event usually appears within seconds.
In System Settings, open your Apple Account, then iCloud. Under the apps that use iCloud you can turn on Mail, Contacts, and Calendars separately. Turning one off removes that data from this Mac's view but leaves it on the server and on your other devices.
Two details are easy to miss:
- iCloud Mail only covers your
@icloud.comaddress. Your other email accounts are not stored in iCloud. - Contacts and calendars in iCloud are the same data on every device signed in to the same Apple Account. A deletion on an iPhone is a deletion on the Mac too.
IMAP accounts
IMAP keeps messages on the server and mirrors them to the Mac. The mailbox structure (Inbox, Sent, Drafts, folders you create) is stored on the server too. Because of this, these actions are shared across every device:
- Marking a message read or flagged.
- Moving a message to another folder.
- Deleting a message.
Mail can also download message bodies and attachments on demand or keep them offline. In the account's settings you can choose how much to keep locally. A smaller local copy saves disk space but needs a connection to read older messages.
An IMAP account has settings that iCloud hides. You may need to enter:
- The incoming mail server name, such as
imap.example.com, and its port (usually 993 with SSL). - The outgoing (SMTP) server, such as
smtp.example.com, and its port (usually 587). - Your username, which is often the full email address.
- A password. Many providers require an app-specific password when two-factor authentication is on.
Mail attempts to detect these settings automatically from the address you enter. If detection fails, Mail asks for them in a form. Get the exact values from your provider's help pages.
Because IMAP covers only mail, an IMAP account does not give you calendars or contacts. If you want those from the same provider, check whether it offers CalDAV and CardDAV, and add them as separate accounts using the "Add Other Account" option.
Exchange accounts
Exchange syncs mail, calendars, and contacts through one account and one login. It offers more than IMAP does:
- Free/busy information: When you invite a colleague, Calendar can show when they are free, using the server's data.
- Meeting rooms and resources: Rooms can be booked as invitees.
- Global Address List: Contacts search can look up everyone in the organization.
- Out-of-office replies: These are set on the server, so they work even when your Mac is off.
Exchange also lets an administrator enforce policies. Examples are a required device passcode, limits on how far back mail syncs, or remote wipe of the account data. These are set by your organization, not by you. If an option you expect is missing, a policy is the likely reason.
Some organizations use Microsoft 365 and require modern sign-in in a browser window. Mail and Calendar handle this by opening a sign-in prompt, and you may be asked to approve a second factor.
Seeing and checking accounts
You can confirm what each account provides in System Settings under Internet Accounts. Select an account, and the toggles list the data types it supports. A mail-only IMAP account shows only Mail. An Exchange account shows Mail, Contacts, Calendars, and possibly Notes and Reminders.
You can also check from the command line. This script prints the name of every account in Mail, which is a safe read-only way to confirm that scripting access works:
tell application "Mail"
get name of every account
end tellThe first time you run it, macOS may ask whether your terminal or Script Editor may control Mail. Allow it, or the script fails with a permission error. That prompt is explained in the privacy chapter.
Choosing where new items go
When more than one account provides a calendar or contact store, each new item needs a destination.
- In Calendar, the new-event window has a calendar picker. The default is set in Calendar's settings under General.
- In Contacts, the default account is set in Contacts settings under General. New cards go there unless you pick another account.
- In Mail, new messages are sent from the account of the selected mailbox. The From field lets you change it.
A common mistake is saving an event to a calendar on the Mac ("On My Mac") when you meant an iCloud or Exchange one. Items "On My Mac" never leave this computer, so they do not appear on your phone and are lost if the Mac is erased without a backup.
Common errors
- Missing calendars after adding IMAP. IMAP carries no calendar data. Add a CalDAV account or use iCloud.
- Duplicate contacts. The same person stored in iCloud and Exchange appears twice. Contacts can link cards, or you can change which accounts are visible.
- Sent mail missing on other devices. The Sent mailbox is not mapped to the server's Sent folder. Check the account's Mailbox Behaviors settings and map it.
- Authentication failures on IMAP. A password change at the provider, or two-factor authentication, can require an app-specific password.
- Exchange options missing. The administrator may have disabled them.
Exercise
You add a work email address to your Mac using a plain IMAP account. Your mail syncs, but you cannot see your colleagues' availability when scheduling a meeting. Why, and what would you change?
Show answer
IMAP syncs mail only. It does not carry calendar data or the free/busy lookups that Exchange provides. To see availability, add the account as Exchange if your organization runs an Exchange or Microsoft 365 server, or ask your administrator for CalDAV details.
Exercise
You create an event in a calendar listed under "On My Mac". It does not show up on your iPhone. Why, and how do you fix it?
Show answer
Calendars "On My Mac" are stored only on that computer and do not sync. Move the event to an iCloud or Exchange calendar by choosing that calendar in the event's calendar picker.