Email (IMAP) Connector
Connect Zenmako to your email account via IMAP and SMTP to read, search, organize, and send emails. This enables AI to check your inbox, summarize unread messages, reply to emails, and manage folders.
Getting Your Credentials
The Email IMAP connector requires your email login credentials plus server settings. Most email providers require an app password instead of your regular password.
Required Information
| Field | Description |
| Username | Your full email address (e.g., you@gmail.com) |
| Password | Your email password or app-specific password |
| IMAP Host | IMAP server address (e.g., imap.gmail.com) |
| IMAP Port | IMAP port number (usually 993 for SSL/TLS) |
| SMTP Host | SMTP server address (e.g., smtp.gmail.com) |
| SMTP Port | SMTP port number (usually 587 for STARTTLS) |
App Passwords
Most email providers with two-factor authentication require an app password. Here is how to generate one:
Gmail:Common Server Settings
| Provider | IMAP Host | IMAP Port | SMTP Host | SMTP Port |
| Gmail | imap.gmail.com | 993 | smtp.gmail.com | 587 |
| Outlook/Hotmail | outlook.office365.com | 993 | smtp.office365.com | 587 |
| Yahoo | imap.mail.yahoo.com | 993 | smtp.mail.yahoo.com | 587 |
| iCloud | imap.mail.me.com | 993 | smtp.mail.me.com | 587 |
| Fastmail | imap.fastmail.com | 993 | smtp.fastmail.com | 587 |
Connecting Email
If the test succeeds, your email connection is ready to use.
Available Actions
| Action | Description |
| getUnreadSummary | Get a summary of unread emails with count by sender and subjects |
| searchEmailsByCriteria | Search emails by sender, subject, date range, or unread status |
| getEmailForReply | Get email details formatted for replying (includes body, headers, and context) |
| composeReply | Compose and send a reply email with proper headers and threading |
| sendEmailWithDraftCheck | Send an email, using an existing draft if one is available |
| bulkMoveEmails | Move multiple emails to a folder in a single operation |
| listFolders | List all available IMAP folders in the mailbox |
| createFolder | Create a new email folder (idempotent - safe to call if folder already exists) |
Example Prompts
Try these prompts to interact with your email:
Common Issues
"Authentication failed" or "Invalid credentials" error
This usually means your password is incorrect or you need an app password. Solutions:
"Connection refused" or "Cannot connect to server" error
This indicates the server settings are incorrect or the connection is blocked. Solutions:
Zenmako