Skip to main content

In development · Open source · Self-hosted

IMAP/SMTP mail connector for Grok Bot

An open-source, self-hosted IMAP/SMTP connector being built so Grok Bot can read, search, draft and send mail from your IMAP mailbox. It is in development and not ready to install yet.

When it is ready, you will run it on your own server. SOFT PYRAMID LLC is building it in the open on GitHub so teams can install and operate it themselves.

View on GitHub

What it does

Planned mail actions for Grok Bot. Grok Bot will ask for your OK before any send, and nothing will be deleted for good.

  • List folders in a connected mailbox
  • Search messages
  • Read messages and attachments
  • Draft new messages and replies
  • Mark messages read, unread, flagged or unflagged
  • Move messages between folders
  • Send will be a separate step, and Grok Bot will ask for your OK first
  • Delete will move a message to Trash

Who it is for

Built for teams and IT people who want Grok Bot to work with mail they already host. It is an MCP server, so other MCP clients may work, but Grok Bot is the client it is built for.

  • Self-hosted mail servers

    You run your own IMAP/SMTP stack and want an MCP connector that talks to those mailboxes.

  • Providers without a built-in Grok Bot connector

    Your provider does not ship a native Grok Bot mail connector, and you still need read, search, draft and send.

  • Teams that keep mail on their own server

    You want credentials and mail data to stay on infrastructure you control. SOFT PYRAMID LLC does not host mailboxes for this connector.

How it works

You will install the connector on your own server, add it to Grok Bot by URL, then connect your mailboxes.

  • You host the connector

    It will run on your server. SOFT PYRAMID LLC does not host or operate an instance for you.

  • Add your mailboxes

    Point each mailbox at your IMAP and SMTP settings so the connector can work with that account.

  • Credentials will be encrypted with your key

    Mailbox secrets will be stored encrypted using an encryption key you set. You hold the key.

  • Rate limits to protect your mail server

    Built-in rate limits are planned to reduce the chance of flooding your IMAP/SMTP server with too many requests.

How setup will work

How setup will work once the connector is ready. The repository README shows the planned install outline. See the README on GitHub.

  1. Get the code from GitHub

    You will clone or download the project from the GitHub repository.

  2. Set your encryption key

    You will set the key the connector uses to encrypt stored mailbox credentials. It will not start without one.

  3. Run the connector on your server

    You will start the service in your own environment, using the settings the README will document.

  4. Connect it in Grok Bot

    You will add the connector to Grok Bot using the HTTPS URL of your instance.

  5. Add your mailbox

    On the setup page, you will enter the IMAP/SMTP details for the mailbox you want Grok Bot to use. Both logins will be tested before anything is saved.

Product preview

Design previews of Soft Pyramid Mail Connector: connecting a mailbox, the connection test results, and managing connections on your own server.

  • Product preview of the Soft Pyramid Mail Connector setup page on desktop, with fields for email address, incoming and outgoing mail server settings, username and password, and a connection test that logs in to both servers before saving.
    Connect mailbox on desktop
  • Product preview of the Mail Connector setup page on a phone, showing the Connect your mailbox to Grok Bot header and the mail server settings form.
    Connect mailbox on phone
  • Product preview of three connection test results: both servers being tested, a clear wrong username or password message with nothing saved, and a mailbox connected confirmation.
    Connection test results
  • Product preview of the Mail Connector page for managing connections, listing two mailbox connections with their status, one reconnected and one asking for its outgoing mail password.
    Manage connections

Follow the connector on GitHub

Soft Pyramid Mail Connector is in development. Watch the GitHub repository to follow progress and to see the install guide when it is ready.