A business that hosts its own email can give ChatGPT access to selected messages through IMAP and MCP. Roundcube remains the webmail interface. The MCP connector acts as a separate IMAP client and exposes specific operations such as searching messages or retrieving selected text. Roundcube Webmail.

Which setup works with ChatGPT Plus?

On a personal Plus account, use a local MCP connector in ChatGPT Desktop where local plugins are available, or add it to Codex CLI using the same account. The local connector runs on your device. On ChatGPT web, direct connections to a custom remote MCP server have different plan requirements. For a team rollout, verify your workspace permissions and available remote connection options before choosing a setup. Local ChatGPT plugins · Custom MCP connection availability.

A four-step pilot

  1. Define what the connector can read. Start with a test mailbox and connect to the IMAP server over TLS, usually on port 993. For production, restrict privileges on the mail server. For example, grant access only to an approved folder if your server supports it. Keep credentials in the system keychain or a secret manager.
  2. Expose two tools over MCP. search_emails returns a few results with sender, subject and date. read_email returns a bounded amount of plain text for one selected message. Use EXAMINE and BODY.PEEK to keep unread messages unread. Exclude attachments, active HTML and remote resources from the first rollout.
  3. Register the tool with the client. Once the local MCP server is installed, add it to Codex CLI with the command below. Replace the illustrative path with your connector's executable. Run codex mcp list to verify the registration. In ChatGPT Desktop, select the local plugin that contains the connector. Codex CLI MCP documentation.
codex mcp add company-mail -- /absolute/path/to/imap-mcp
codex mcp list
  1. Test the access controls. Try an allowed and a denied folder, check that unread messages stay unread, and verify that access can be revoked. Include a test email that asks the assistant to forward a message or disclose information. The connector and assistant must treat the email text as data that cannot authorize other actions.

Replies and data handling

IMAP reads mail. Sending through SMTP is a separate capability and can stay with the user during the pilot. ChatGPT can prepare a draft for someone to review and send from Roundcube. If you add sending later, require explicit approval for each message after the user sees the recipients and content.

Your mail server continues to store the mailbox, but selected content is processed by ChatGPT when the connector returns it. Minimize the data the tool provides and review the retention and model-improvement controls for the account or workspace. ChatGPT Data Controls.

For webmail users, we also published a plain-language ChatGPT and Roundcube guide. To set up access to business email by team or mailbox, contact iRox.

Share: