Overview
What Gets Indexed
| Source | Content |
|---|---|
| Emails | Subject, body, sender, recipients, and dates |
| Attachments | Text-based file attachments |
| Threads | Grouped email conversations via message threading |
How It Works
- You provide IMAP server credentials (host, port, username, password)
- The connector syncs emails from configured folders
- Folder allow/deny lists control which mailbox folders are indexed
- Email threads are grouped for efficient search
The connector uses read-only access — it only reads email via IMAP. Omni cannot send, modify, or delete any emails.
Prerequisites
Before setting up the IMAP connector, ensure you have:- IMAP server access credentials (username and password)
- For Gmail/Outlook: an app-specific password is recommended
- Omni deployment with the IMAP connector service running
Setup
Step 1: Gather IMAP Server Details
Common IMAP settings for popular providers:| Provider | Host | Port | Encryption |
|---|---|---|---|
| Gmail | imap.gmail.com | 993 | TLS |
| Outlook/Office 365 | outlook.office365.com | 993 | TLS |
| Yahoo | imap.mail.yahoo.com | 993 | TLS |
Step 2: Connect in Omni
- Navigate to Settings → Integrations in Omni
- Find IMAP Email and click Connect
- Enter connection details:
- Display name (optional): A label for this account
- Host: IMAP server hostname
- Port: Server port (default 993 for TLS)
- Encryption: TLS (recommended), STARTTLS, or None
- Username: Your email address
- Password: Your password or app-specific password
- Optionally configure advanced settings:
- Folder allowlist: Only sync specific folders (comma-separated)
- Folder denylist: Skip specific folders (comma-separated)
- Max message size: Limit for individual messages (0 = unlimited)
- Click Connect
- Click Sync Now to start the initial sync
Your IMAP connector is now configured. Initial indexing may take a while depending on the number of emails in your mailbox.
Managing the Integration
Viewing Sync Status
Navigate to Settings → Integrations to view the sync status for each source directly on the list, including last sync time, number of indexed items, and any errors. Click Configure on a source for more details.Sync Modes
The IMAP connector supports two sync modes:| Mode | Description |
|---|---|
| Full | Syncs all emails from configured folders (used for initial sync) |
| Incremental | Syncs only new emails since last sync (used for updates) |
Default Excluded Folders
By default, the following folders are excluded from indexing: Trash, Spam, Junk, Junk Email, Deleted Items, Deleted Messages, [Gmail]/Trash, and [Gmail]/Spam. You can override this behavior by configuring the folder denylist in the connector settings.Removing the Integration
- Navigate to Settings → Integrations
- Click Configure against the IMAP source
- Click Delete Permanently
Troubleshooting
Emails not appearing in search
Emails not appearing in search
Common causes:
- Folder allow/deny lists may be excluding the target folder
- Sync has not completed yet
Authentication failed
Authentication failed
The credentials may be incorrect, or your provider may require an app-specific password.Solution:
- Verify your username and password are correct
- For Gmail, create an App Password at https://myaccount.google.com/apppasswords
- For Outlook, check if your organization requires app-specific passwords
- Update the credentials in Omni via Settings → Integrations → IMAP Email
Connection timeout
Connection timeout
The server may be unreachable or the connection settings may be incorrect.Solution: Verify the host, port, and encryption settings match your provider. Refer to the common IMAP settings table in Step 1.
Large mailbox sync is slow
Large mailbox sync is slow
Mailboxes with many emails can take a long time to sync initially.Solution: Consider using the folder allowlist to limit the scope of the sync, or set a max message size to skip very large emails.
Security Considerations
- Read-only access: The connector only reads email via IMAP
- TLS encryption: Always use TLS or STARTTLS for production deployments
- App passwords: Use app-specific passwords instead of your main account password
- Encrypted storage: Credentials are encrypted at rest in Omni
What’s Next
Search Your Data
Learn how to search across your emails
AI Assistant
Ask questions about your email conversations
Add More Connectors
Connect additional data sources