Documentation
Your world, mapped to AI. Connect your accounts, choose their permissions and give your assistant one private connection.
Last updated 11 October 2026.
I map everything to AI
That is the idea behind IMAP2AI: one place to connect the tools and accounts you use to your AI assistant. Email, WhatsApp and Google Search Console are the first integrations. The brand covers the whole platform; IMAP email is one of its connection methods.
One connector for your accounts
Open Accounts to add multiple email accounts, WhatsApp numbers and Google Search Console accounts. Pair each WhatsApp number with its own QR code and authorize each Google account through Google. Search Console is for website search performance; Gmail uses the email connector.
Create a connector URL in AI access and add it to your AI client as a remote MCP server. Read-only is the default. Each URL covers your current and future accounts when you choose “All accounts”, or only the accounts you select. Revoke unused URLs in the dashboard. Every service tool requires the account id from the connections tool. Sends also require a unique request id: after uncertain delivery, check the conversation or Sent folder before retrying.
A write-capable URL can edit email drafts, flags and folders. Email sending also requires the mailbox’s sending switch. WhatsApp and Search Console writes require both the account permission and the operator’s service switch. All accounts use the shared connector URL.
Set up your AI client
Claude
Open Customize → Connectors → Add → Custom → Web. Name it IMAP2AI, paste your private URL and continue. Choose No sign in when asked: your private URL already includes the credential. Add the connector, then enable it in a chat.
Official Claude guideChatGPT
With developer mode available to your account, open Settings → Apps → Create (or Workspace settings → Apps → Create). Name the app IMAP2AI and paste the private URL as the MCP endpoint. Select no additional authentication, scan the tools and create. Select it in a new chat. Availability and write actions depend on your plan and workspace policy.
Official ChatGPT guideCursor
Add a custom remote MCP server through Customize or your mcp.json file. Use an mcpServers entry named imap2ai with its url set to your private URL. Enable it for the agent and check that its tools are available.
Official Cursor guideAfter adding the connection, ask “List my connected accounts.” In AI access, refresh to see the last successful use.
Connect a mailbox
- Create an account at imap2ai.com/app. No payment card is requested.
- Add the mailbox: its address and password, plus the IMAP and SMTP hosts if they are not the usual ones. The connection is tested before anything is saved, and a failure tells you which setting is wrong. With two-factor authentication turned on you will usually need an app-specific password from your provider.
- Create a connector URL in AI access. It is shown once. Treat it like a password: anyone holding it can reach your connected accounts through the assistant. We keep only its SHA-256, which is why it cannot be shown again; you can revoke it in the dashboard at any time and mint a new one.
- Paste it into your AI assistant. Add the URL as a remote MCP server using your client’s connector settings. The secret is included in the URL; do not share it or include it in screenshots. Ask the assistant to list your connections first, then select the account to use.
Then ask. “What came in overnight that still needs a reply?” is a good first question. Drafts the assistant writes appear in your mail app’s Drafts folder, not in the chat.
WhatsApp and Google
Connect and verify WhatsApp
Choose Accounts → Add account → WhatsApp. Name the account, then scan its QR code from WhatsApp’s Linked devices screen. Repeat for each number. Open the account’s Overview to check its identity and latest connection check. Enable sending separately in Permissions.
Connect and verify Google Search Console
Choose Google Search Console, name the account and continue through Google consent. Back in the account, choose Check access. Search or filter the returned properties and inspect your permission. Authorization alone does not confirm property access. Reconnect in Settings if a grant expires; if a property is missing, verify that the same Google identity has access in Search Console.
Each WhatsApp number has its own pairing code, session and message cache. Use its account id to list chats, read or search messages, and send only when write access is enabled. Google accounts are connected separately through consent and provide Search Console properties, performance reports and inspection tools. Search performance data can lag several days. This connection does not grant Gmail access.
Troubleshooting
- Confirmation email missing: check spam, use Resend confirmation on the sign-in page, and contact support if it still does not arrive.
- AI cannot see an account: check the selected AI connection’s scope and run “List my connected accounts” again.
- Sending blocked: open the account’s Permissions tab to inspect the AI connection, account permission and service availability together.
- Failed request: open Activity, filter by account and Failed, then view the request details. For uncertain sending results, check delivery before retrying.
Sending and permissions
To send an email or WhatsApp message, enable sending on that account and create an AI connection with “Allow changes” selected. Both permissions are required. Existing read-only AI connections stay read-only; create a new connection if you need a different permission.
Ask your assistant to confirm the account, recipient and message before sending. If a send returns an uncertain result, check the conversation or Sent folder before retrying.
Email capabilities and technical reference
Attachments
The assistant can put a file on a draft two ways. It can re-send something already in the mailbox — a customer's spec, a supplier's rate sheet — without putting the attachment bytes into the AI request. Mail server limits still apply. Or it can attach something it wrote itself, which it has to spell out character by character, so that one is for small text files rather than documents.
For a file on your own computer, upload it from the mailbox page in the dashboard: it goes into a folder in your own mailbox, and from there the assistant attaches it like any other. Mailing the file to yourself first works just as well and always has. Either way the real ceiling is the receiving mail server, which usually refuses a message over 25 MB.
Which mailboxes work
Any mailbox that still allows IMAP and SMTP with a password: Gmail, Zoho, Fastmail, and any cPanel, Dovecot or Plesk mailbox from a web host. Microsoft 365 and Outlook.com do not work — Microsoft requires OAuth for IMAP and this connector does not speak it. An app password will not get around that; the mail server rejects the sign-in.
A mailbox that only offers POP3 connects too, with limited capabilities. POP3 has one inbox and no way to store a message on the server, so on such a mailbox the assistant can read, search and send, but cannot write drafts, list other folders, move messages or mark anything as read — and if your mail program is set to delete from the server once it has downloaded, the assistant will find an empty inbox. Every tool that cannot work says so and why. Choose IMAP wherever your provider offers it.
Email tools
Each tool declares to the client whether it only reads or can change the mailbox, and whether what it changes can be undone. Your client uses that to decide when to ask you first.
- List folders · reads
- Every folder in the mailbox, with its IMAP flags and the server’s delimiter.
- List messages · reads
- Headers in a folder, newest first: sender, subject, date, size, flags. Nothing is downloaded but headers.
- Read messages · reads
- Full messages as clean text — HTML converted, quoted history separated, inline signature images dropped. Reading never marks a message as read.
- Search messages · reads
- By sender, recipient, subject, body or date, in any folder. Accented text is searched correctly.
- Find replies · reads
- Every message, across folders, that replies to or references a given one.
- Download attachment · reads
- One attachment from a message, up to 8 MB.
- Create draft · writes
- Saves a reply into the Drafts folder, threaded under the original, for a person to review and send from their own mail app.
- Send message · writes
- Sends immediately over SMTP and files a copy in Sent. Off by default; a per-mailbox switch you turn on deliberately.
- Move messages · writes
- Files messages into another folder — a workflow stage, an archive, or Trash. The message survives in the destination.
- Set flags · writes
- Marks messages read, unread, starred or answered, or adds a custom keyword. It refuses the \Deleted flag.
- Create folder · writes
- Creates a folder, for example a stage in a workflow. Creating one that exists is not an error.
What it will not do
- Erase a message. There is no delete tool, and the flag tool refuses
\Deleted, which is how IMAP bins mail. Moving a message to Trash is the closest it can get, and the message is still there until your provider empties Trash. - Send on its own. Sending is off when you connect a mailbox and stays off until you turn it on for that mailbox. Until then, every reply is a draft and a person presses Send.
- Keep your mail. Each request opens a fresh connection to your mail server, returns the result and holds nothing. The call log records which tool ran, when, and whether it worked — never a subject, a sender, a body or a folder name.
Account and usage limits
The initial workspace allows up to ten accounts per service, subject to deployment capacity. Email has a daily per-account allowance and all services have short-term rate limits. Capacity errors are shown explicitly. A superadmin can grant an unlimited IMAP2AI allowance; provider limits and sending permissions still apply. Paid subscriptions are not enabled in this release.
Security and data handling
Security, and mail as hostile input
A mailbox is the one system whose contents are written by strangers. Anything the assistant reads may have been crafted to steer it, and anything it sends back to the mail server may have originated in such a message. The connector is built on that assumption:
- Nothing from a message reaches the server’s command line unchecked. Folder names are validated before they are sent to IMAP — a name containing a line break or a NUL byte is refused outright, not escaped, because quoting does not neutralise those and they would end the command and start another. Message identifiers are integers. Search text is sent as a length-prefixed literal, so it cannot be mistaken for a command.
- The dangerous flag is refused. A message cannot talk the assistant into marking mail deleted, because the tool will not set that flag for anyone.
- Sending is opt-in per mailbox, so a planted instruction to “reply to everyone” produces a draft, which a person sees before it goes anywhere.
- The instructions the server gives your assistant never contain mail. They describe the tools; message content arrives only as the result of a tool you invoked, where your client shows it to you.
- Credentials are sealed. Your mailbox password is encrypted with AES-256-GCM under a key held only in the server’s environment, and is decrypted only for the duration of a request. The connector URL is stored as a SHA-256 hash. The operator screen shows counts and error codes, never either of them.
What the assistant reads is, by definition, sent to the assistant’s provider — Anthropic for Claude, OpenAI for ChatGPT, whoever operates the client you chose. We cannot see which one that is. The privacy policy says exactly what is stored where and for how long.
Support
Write to info@imap2ai.com or call +386 40 202 488. One person runs this and answers. Include the mailbox address and what the dashboard said; never include the connector URL or a password — nobody supporting you needs either.