# Welcome

MailAgent is an AI-powered email assistant that helps you and your users manage email intelligently. It can automatically respond to emails, draft replies, classify messages, and integrate with external knowledge bases — all from within Gmail or your own website.

## What is MailAgent?

MailAgent consists of two main products:

### Chat Widget

An embeddable chat widget you can add to any website. Your visitors interact with an AI assistant that can draft and send emails, answer questions using your connected knowledge bases, and more.

> Perfect for customer support, sales teams, or any website that needs AI-powered email capabilities.

### Gmail Addon

A native Gmail sidebar addon that gives your users an AI copilot right inside their inbox. It can automatically respond to incoming emails, create drafts for review, classify messages with labels, and process individual email threads on demand.

> Ideal for teams that want hands-free email management with full control over AI behavior.

## Key Features

* **AI-Powered Responses** — Automatically draft or send email replies using advanced language models.
* **Custom Prompts** — Define exactly how the AI should behave with custom system prompts.
* **Draft Mode** — Review AI-generated responses before they're sent.
* **Email Classification** — Automatically label emails (e.g., "Answered", "Action Required").
* **MCP Integrations** — Connect external tools and APIs using the Model Context Protocol.
* **GitBook Integration** — Feed your product documentation as context for more accurate responses.
* **Email Signature** — Append a custom footer to all AI-generated emails.
* **Multi-Language Support** — 22+ languages supported out of the box.
* **Usage Quotas** — Built-in plan-based limits (Starter, Standard, Pro).

## Quick Links

| I want to...                   | Go to                                                      |
| ------------------------------ | ---------------------------------------------------------- |
| Embed the widget on my website | [Widget — Getting Started](/widget/getting-started.md)     |
| Install the Gmail addon        | [Gmail Addon — Installation](/gmail-addon/installation.md) |
| Configure the AI agent         | [Gmail Addon — AI Agent](/gmail-addon/ai-agent.md)         |
| Connect my knowledge base      | [Gmail Addon — Integrations](/gmail-addon/integrations.md) |


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://support.mailagent.email/readme.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
