Skip to main content
Connic

Email Helpdesk

By Connic

End-to-end email support with IMAP polling, auto-reply filtering, and intent classification. Drafts contextual replies from the configured retrieval.

CommunicationIntermediateEmail
connic init my-project --templates=email-helpdesk

Overview

Polls an IMAP mailbox for new emails, filters auto-replies and spam with StopProcessing middleware, classifies by intent/urgency/department, and drafts contextual replies using the full retrieval CRUD (query, store, and delete). Replies are sent automatically via the SMTP outbound connector. Middleware extracts sender metadata into context for personalized responses. Supports multilingual replies matching the sender's language.

Use cases

Support inbox automation

Automatically triage and respond to support emails from a shared mailbox, filtering noise and drafting helpful replies.

Retrieval maintenance

Auto-update the retrieval as new solutions are discovered; remove outdated entries using retrieval_delete.

Multilingual support

Detect the sender's language and draft replies in the same language for international customer bases.

Architecture

IMAP Inbox
helpdesk-pipeline
email-classifier
email-responder
Retrieval
SMTP Outbound

Main template files

Install these files with connic init my-project --templates=email-helpdesk. The CLI places agent definitions in a folder named after the template under agents/.

email-helpdesk/
  agents/
    email-classifier.yaml
    email-responder.yaml
    helpdesk-pipeline.yaml
  tools/
    helpdesk_tools.py
  middleware/
    email-classifier.py
  schemas/
    email-classification.json
    email-reply.json
  requirements.txt
  README.md

Get started

Install the template, create a Connic project, and deploy through a connected Git repository or the CLI.

Prerequisites

  • Python 3.10+
  • A Connic account (create a project first)
  • Project credit for a connic/* model, or credentials for a BYOK provider
Create project
  1. Install and scaffold

    Install the SDK and create a project from this template.

    terminal
    pip install connic-composer-sdk
    connic init my-project --templates=email-helpdesk

    Then cd my-project

  2. Deploy

    Choose a deployment method. A connected Git repository deploys on push; use the CLI for projects without a connected Git repository.

    Git integration
    1. In Connic: Project Settings → Git & Environments, connect the GitHub repository

    2. On the same page, map a branch (e.g. main) to the Production environment

    3. Push the scaffolded project to that repository

    terminal
    git add .
    git commit -m "Add Email Helpdesk template"
    git push origin main
    CLI deploy
    1. In Connic: Project Settings → API Keys & MCP Auth, create an API key and copy project ID

    2. Run connic login in the project folder

    3. Use connic dev to try with hot-reload, connic test to run suites, or connic deploy for production

    terminal
    connic login
    connic dev     # Ephemeral dev env with hot-reload
    connic test    # Run declarative test suites
    connic deploy  # Deploy to production
  3. Connect and configure

    Add an Email inbound (IMAP) connector to poll the mailbox and an Email outbound (SMTP) connector to send replies. Provide the mail server credentials for both. Use a connic/* model, or add BYOK credentials under Project Settings → LLM Provider.

Template source

Browse the full template, contribute improvements, or fork it for another use case.

connic-org/connic-awesome-agents/tree/main/email-helpdesk

Information

Publisher
By Connic
Difficulty
Intermediate
Works with
Email
Source
GitHub