Plugins — overview

4 min read · Updated April 21, 2026

A DraftKite plugin is an HTTPS endpoint that DraftKite calls during the classification and draft pipeline. The plugin returns markdown context (and, optionally, label suggestions) that is blended into the LLM prompts. That lets the AI use up-to-date CRM data, calendar conflicts or Notion pages as background for its drafts.

In this article
  1. 1.Lifecycle
  2. 2.Hooks
  3. 3.Installing a plugin
  4. 4.Available plugins

Lifecycle

  1. A user installs the plugin from /plugins → DraftKite stores the configuration and encrypted secrets.
  2. The user enables it on one or more inboxes.
  3. For every incoming email, the pipeline calls the plugin on the hooks it declares.
  4. The results are merged into the prompts for classification and/or drafts.

Hooks

  • onClassify — called before labelling. Returns context that helps the AI pick the right label.
  • onDraft — called before draft generation. Returns context that helps the AI write a better reply.

Plugins have a time budget of 5 seconds. If they exceed it, DraftKite drops the result and carries on without the context.

Installing a plugin

Go to /plugins, pick a plugin from the list, and click 'Install'. You may be asked to enter an API key or sign in via OAuth, depending on the plugin's auth type. Afterwards, you choose which inboxes it should be active on.

Available plugins

Missing something?

If you need help with setup, or have any other questions, you can write to support@draftkite.com. We usually reply within one business day.