• PROVISION
  • SECURITY
  • AUDIT
  • MANUAL

How to create and manage mailboxes with your AI

Connect Mail-in-a-Box to your agent to handle email account lifecycle tasks through chat. You'll manage users and passwords without opening a web dashboard.

Ask AI about this page

Short answer

Can I manage my email accounts using my AI?

Yes. You can create new users, update passwords, list existing accounts, and delete users by simply asking your agent. This allows you to handle mailbox administration entirely through your chat interface.

Where every action lands.

Mailbox management outcomes

Your agent handles the technical execution of these four core tasks.

PROVISION

New user setup

Your agent uses the creation tool to set up a new mailbox. You get a ready-to-use email address immediately.

SECURITY

Password resets

The agent updates credentials when you request it. This keeps account access moving without manual dashboard intervention.

AUDIT

User lists

Ask for a summary of all active accounts. Your agent pulls the current user list from the system.

MANUAL

Human oversight

You decide which accounts to remove. The agent waits for your explicit command before deleting any user data.

The workflow

What your AI does when you request mailbox changes.

The agent translates your natural language requests into direct commands for your mail server.

  1. Account creation

    When you ask for a new email, the agent provisions the account with the specified username.

    create_mail_user
  2. Credential updates

    If a user forgets a password, the agent applies the new password to that specific account.

    update_user_password
  3. Account auditing

    The agent scans the system to show you exactly which mailboxes currently exist.

    list_mail_users
  4. Account removal

    The agent wipes a mailbox and its associated user data upon your direct instruction.

    delete_mail_user

Try it

Copy these to start.

Use these prompts to trigger actions in your mail server.

Starting points

These are examples. Swap out the specific names and passwords for your actual data.

Mail-in-a-Box Connector

You're all set. Choose your MCP client and follow the setup instructions.

Connector linkhttps://edge.vinkius.com/vk_preview_97zoxuoeEjuuPbMDKKGoSZNXF3IIT7shhlTFbzSa/mcp

Claude Desktop

Follow the steps below to connect in seconds.

  1. 1In Claude Desktop, open Settings → Connectors.
  2. 2Click “Add custom connector” and paste the connector link above as the remote MCP server URL.
  3. 3Click Add and start a new chat — Mail-in-a-Box capabilities are ready to use.
Configuration · claude_desktop_config.jsonCopy
{
  "mcpServers": {
    "mail-in-a-box-mcp": {
      "url": "https://edge.vinkius.com/vk_preview_97zoxuoeEjuuPbMDKKGoSZNXF3IIT7shhlTFbzSa/mcp"
    }
  }
}
Copy into chat04
  • Create a new email account for sam@example.com

  • Change the password for the user jdoe@example.com to a new secure string

  • Show me a list of all the email users on this server

  • Delete the mailbox for olduser@example.com

  • Claude
  • ChatGPT
  • Cursor
  • VS Code
  • Windsurf
  • Claude Code
  • JetBrains
  • Cline

Start here

Connect Mail-in-a-Box once, then ask.

One connection link is all you need. Your credentials stay encrypted, and you can start managing mailboxes immediately.

Connect Mail-in-a-Box to your AI

FAQ

How the mailbox management works

  • 01

    Can the AI create email aliases?

    No. The agent can only create full user accounts.

  • 02

    Will the AI delete my mailboxes without asking?

    No. The agent only deletes a user when you explicitly tell it to do so.

  • 03

    Can I use the AI to read the actual emails in the inbox?

    No. This connector is for account administration, not for reading or sending email content.

  • 04

    Does the AI need my admin dashboard password?

    No. You connect the MCP once, and the agent uses its own secure connection to perform tasks.

  • 05

    Can the AI change server-wide settings?

    No. The agent is limited to managing individual user accounts and passwords.

  • More questions about Mail-in-a-Box? The Connector page answers them. See everything the Mail-in-a-Box Connector can do

Connect Mail-in-a-Box to Claude, Cursor, ChatGPT & more