Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| ICLOUD_EMAIL | Yes | Your iCloud email address | |
| ICLOUD_APP_PASSWORD | Yes | Your app-specific password for iCloud Mail access |
Schema
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| get_messages | Get email messages from specified mailbox |
| send_email | Send an email through iCloud Mail |
| mark_as_read | Mark email messages as read |
| get_mailboxes | List all available mailboxes |
| test_connection | Test the email server connection (IMAP and SMTP) |
| create_mailbox | Create a new mailbox (folder) |
| delete_mailbox | Delete an existing mailbox (folder) |
| move_messages | Move messages between mailboxes |
| search_messages | Search for messages using various criteria |
| delete_messages | Delete messages from a mailbox |
| set_flags | Set flags on messages (read, unread, flagged, etc.) |
| download_attachment | Download an attachment from a specific message |
| auto_organize | Automatically organize emails based on rules (sender, subject keywords, etc.) |
| check_config | Check if environment variables are properly configured |