Skip to content

Release Notes: v0.4.0

Release Date: 2026-03-22

Summary

This release adds Gmail and Slack providers, expanding OmniChat to 5 messaging platforms. It also introduces a comprehensive MkDocs documentation site.

Highlights

  • Gmail and Slack providers for expanded platform support
  • MkDocs documentation site with comprehensive guides

New Features

Gmail Provider

Email integration via the Gmail API using gogoogle v0.9.0:

import "github.com/plexusone/omnichat/providers/email/gmail"

p, err := gmail.New(gmail.Config{
    CredentialsFile: "credentials.json",
    TokenFile:       "token.json",
    FromAddress:     "bot@example.com",
    Logger:          slog.Default(),
})

Features:

  • OAuth2 authentication via Google Cloud
  • Plain text, HTML, and Markdown email support
  • Reply-To header support

Slack Provider

Real-time Slack integration using Socket Mode:

import "github.com/plexusone/omnichat/providers/slack"

p, err := slack.New(slack.Config{
    BotToken: os.Getenv("SLACK_BOT_TOKEN"),
    AppToken: os.Getenv("SLACK_APP_TOKEN"),
    Logger:   slog.Default(),
})

Features:

  • Socket Mode for real-time events (no public endpoint required)
  • Channel, DM, and thread support
  • Message and reaction handling

Supported Platforms

OmniChat now supports 5 messaging platforms:

Provider Package Status
Discord providers/discord Stable
Telegram providers/telegram Stable
WhatsApp providers/whatsapp Stable
Slack providers/slack New
Gmail providers/email/gmail New

Documentation

New MkDocs documentation site at plexusone.github.io/omnichat:

  • Getting started guide
  • Provider-specific documentation for all 5 platforms
  • Router, voice processing, and testing reference
  • Release notes archive

Deploy locally with:

mkdocs serve

Dependencies

  • Bump modernc.org/sqlite from 1.46.1 to 1.47.0

Upgrade Guide

This release is backwards compatible. To add new providers:

go get github.com/plexusone/omnichat@v0.4.0

Gmail Setup

  1. Create OAuth credentials in Google Cloud Console
  2. Download credentials.json
  3. Configure the provider with credentials and token paths

Slack Setup

  1. Create a Slack app at api.slack.com
  2. Enable Socket Mode and generate App Token
  3. Add required OAuth scopes and install to workspace
  4. Configure the provider with bot and app tokens

Contributors

  • Claude Opus 4.5 (AI pair programming)