# modmail-dev/Modmail

A Discord bot that functions as a shared inbox between staff and members, similar to Reddit's Modmail.

Repository: https://github.com/modmail-dev/Modmail
Canonical: https://ross.abutalabs.com/products/modmail
Homepage: https://docs.modmail.dev
Language: Python
License: AGPL-3.0
License Family: copyleft
Topics: modmail, discord-bot, discord-py, discord, bot, discord-api, python, python3, discord-modmail
Last push: 2026-08-26T12:59:12+00:00

## Health v2 (maintenance only)
Score: 81/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 99, release rhythm 47, longevity 100
- inputs: {"age_days": 3251, "days_push": 7, "days_rel": 276, "gap_med": 57, "n_releases_24m": 4}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1695, forks 4714 (observed 2026-08-28T04:05:23.799765+00:00)

## What it is
Modmail is a self-hosted Discord bot that acts as a shared inbox between server staff and members, similar to Reddit's Modmail. Member DMs are relayed into staff-visible threads, with logging via a companion Logviewer and extensibility through plugins.

## Use cases
- run a modmail system for my discord server
- let members contact moderators through DMs that staff can see
- replace a ticket bot with a shared inbox for staff
- keep searchable logs of mod-user conversations
- self-host a discord moderation bot with plugins
- auto-close inactive modmail threads

## When to choose
- you run a Discord community and staff need a shared, organized way to handle member DMs
- you want conversation logs with shareable links via Logviewer
- you need a highly customizable, plugin-extensible bot you host yourself
- you prefer a free, open-source (AGPL-3.0) alternative to paid ticket bots

## When to avoid
- you want a one-click public bot invite with no hosting
- you need a full ticketing system with forms and SLAs rather than DM-based threads
- you cannot provide a MongoDB instance and 24/7 hosting
- your project is not on Discord

## Facets
- artifact type: application
- maturity: active
- function: chatbot, workflow-automation, self-hosted
- domain: messaging-platforms, developer-tools
- platform: python, self-hosted, cross-platform
- tags: discord-bot, modmail, shared-inbox, discord-py, ticketing, moderation, logviewer, mongodb, automation, docker

## Member repositories
- modmail-dev/Modmail (main) score 81

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:05:23.799765+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T03:37:56.488140+00:00, confidence not recorded.
  - readme: https://github.com/modmail-dev/Modmail (fetched 2026-08-28T04:05:23.799765+00:00, sha 652db0284528)
  - homepage: https://docs.modmail.dev (fetched 2026-08-29T11:12:58.322895+00:00, sha 014fad30b1d4)
  - site_page: https://docs.modmail.dev/installation (fetched 2026-08-29T11:12:58.332121+00:00, sha ebdd6ddae823)
  - site_page: https://docs.modmail.dev/faq (fetched 2026-08-29T11:12:58.334623+00:00, sha e7fc709be283)
  - site_page: https://docs.modmail.dev/old-docs (fetched 2026-08-29T11:12:58.336682+00:00, sha 3f347cc6386c)
- Data as of 2026-08-30T08:39:29.467469+00:00.
