iCloud Mail integration

iCloud Mail via IMAP/SMTP - requires an Apple app-specific password

Help Centre › Connectors

Overview

iCloud Mail via IMAP/SMTP. Apple does not accept your normal Apple Account password here – the connection needs an app-specific password.


Setting up the connection

Auth type: HTTP Basic.

  1. Turn on two-factor authentication for the Apple Account. Apple only issues app-specific passwords to accounts that have it.
  2. Sign in at account.apple.com and open Sign-In and Security → App-Specific Passwords. Create one for Automize.
  3. In Automize, open Settings → Connectors → iCloud Mail → Add connection.
  4. Enter the iCloud address the bot signs in as (for example name@icloud.com) in Email address and the app-specific password in App-specific password.

Find your credentials at https://account.apple.com.


Data model

Standard mail: folders hold messages, and each message is addressed by its UID within a folder.

Available operations

9 operations available. Click any row to jump to its detail.

OperationCategoryWhat it does
Count EmailsGeneralCount emails in a folder
Delete EmailGeneralDelete an email
Fetch EmailGeneralFetch a complete email by UID
List FoldersGeneralList mailbox folders
Mark ReadGeneralMark an email as read
Mark UnreadGeneralMark an email as unread
Move EmailGeneralMove an email to another folder
Search EmailsGeneralSearch for emails in a mailbox folder
Send EmailGeneralSend an email via SMTP

Operations

Count Emails

Count emails in a folder

ParameterRequiredTypeDescription
Folder folderNotext

Delete Email

Delete an email

ParameterRequiredTypeDescription
Uid uidYestext
Folder folderNotext

Tips

  • To keep a copy, move the email to another folder instead of deleting it.

Fetch Email

Fetch a complete email by UID

ParameterRequiredTypeDescription
Uid uidYestext
Folder folderNotext

List Folders

List mailbox folders

No input parameters.


Mark Read

Mark an email as read

ParameterRequiredTypeDescription
Uid uidYestext
Folder folderNotext

Mark Unread

Mark an email as unread

ParameterRequiredTypeDescription
Uid uidYestext
Folder folderNotext

Move Email

Move an email to another folder

ParameterRequiredTypeDescription
Uid uidYestext
Source Folder source_folderNotext
Dest Folder dest_folderYestext

Search for emails in a mailbox folder

ParameterRequiredTypeDescription
Folder folderNotext
Criteria criteriaNotext
Limit limitNonumber

Send Email

Send an email via SMTP

ParameterRequiredTypeDescription
To toYestext
Subject subjectYestext
Body bodyNotext
Html htmlNotext
Cc ccNotext
Bcc bccNotext
Attachments attachmentsNotextarea
Sender senderNotext

Tips

  • Sends through smtp.mail.me.com on port 587 with STARTTLS.

FAQ

Why is my Apple Account password rejected?
iCloud Mail only accepts an app-specific password over IMAP and SMTP. Create one at account.apple.com and use that.

Related connectors

See it working on your own data

Everything documented here ships with the platform – try the document tools free, or go live in 7 days.