> For the complete documentation index, see [llms.txt](https://support.mailagent.email/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://support.mailagent.email/gmail-addon/overview.md).

# Overview

The MailAgent Gmail Addon brings AI-powered email assistance directly into your Gmail inbox as a sidebar. No context switching, no copy-pasting — just open an email and let the AI help.

## What It Does

When installed, the addon adds a sidebar panel to Gmail with the following capabilities:

* **AI Agent** — Toggle an autonomous AI that monitors your inbox and responds to emails automatically.
* **Draft Mode** — Choose whether the AI sends emails directly or creates drafts for your review.
* **Custom Prompt** — Define the AI's personality, tone, and behavior with a system prompt.
* **Email Labels** — Automatically classify and label processed emails.
* **Email Signature** — Append a custom footer to all AI-generated emails.
* **Integrations** — Connect MCP servers and GitBook knowledge bases for context-aware responses.
* **Process Email** — Manually trigger the AI to respond to the currently open email.
* **Quick Replies** — Get AI-suggested reply options when viewing an email.
* **Reports** — View email processing statistics.
* **User ID** — Your unique identifier, displayed at the bottom of the settings panel. You'll need this to [integrate the widget](/widget/getting-started.md).

## How It Works

```
┌─────────────────────────────────────────────┐
│  Gmail Inbox                                │
│  ┌────────────────────┐  ┌────────────────┐ │
│  │                    │  │  MailAgent      │ │
│  │   Email Thread     │  │  Sidebar       │ │
│  │                    │  │                │ │
│  │                    │  │  [AI Agent: ON] │ │
│  │                    │  │  Draft Mode     │ │
│  │                    │  │  Integrations   │ │
│  │                    │  │  Prompt         │ │
│  │                    │  │  Labels         │ │
│  │                    │  │  Signature      │ │
│  │                    │  │                │ │
│  └────────────────────┘  └────────────────┘ │
└─────────────────────────────────────────────┘
```

1. **Automatic Mode** — When the AI Agent is enabled, MailAgent watches for new unread emails via Gmail push notifications. For each new email, it reads the thread, generates a response using your configured prompt and integrations, and either sends the reply or creates a draft.
2. **Manual Mode** — When the AI Agent is disabled, you can still open any email and click "Process Email" to generate a response on demand. The addon will show the email's intent, quick reply suggestions, and a custom prompt field for generating replies.

## Subscription Plans

| Plan         | Daily Email Limit | Features          |
| ------------ | ----------------- | ----------------- |
| **Starter**  | 10 emails/day     | All core features |
| **Standard** | 50 emails/day     | All core features |
| **Pro**      | Unlimited         | All core features |

Your daily usage counter resets automatically every 24 hours.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://support.mailagent.email/gmail-addon/overview.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
