---
title: "Contribute Endpoint"
method: POST
path: "/admin/email-classifier/contribute"
tags: ["admin-email-classifier"]
---

# Contribute Endpoint

`POST /admin/email-classifier/contribute`

Enqueue a background job that fetches, labels, and stores emails
from the current admin's most recently connected Gmail account.

## Response `200`

Successful Response

- ContributeResponse
  - `status` 'enqueued', required
  - `connection_id` string, required
  - `gmail_account` string, required

---

[API](https://skmtc.dev/stardrift/apis/fastapi.md) · [All operations](https://skmtc.dev/stardrift/apis/fastapi/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/stardrift/fastapi/revisions/00746572572a/schema)
