> 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/process-email.md).

# Process Email

Process Email lets you manually trigger the AI to respond to a specific email, without needing the AI Agent to be enabled.

## How to Use

1. Open an email in Gmail.
2. The MailAgent sidebar will detect the open email.
3. Click the **Process Email** button.
4. The AI will read the thread, generate a response, and either send it or create a draft (depending on your [Draft Mode](/gmail-addon/draft-mode.md) setting).

## When the AI Agent is Disabled

When the AI Agent toggle is off, opening an email shows an enhanced view with:

### Email Intent

A brief summary of what the sender is asking for or communicating. This helps you quickly understand the email without reading the full thread.

### Quick Replies

AI-generated reply suggestions based on the email content. Each suggestion shows:

* A preview of the response.
* A **Use** button to create a draft with that response.

Quick replies are great for:

* Common questions with standard answers.
* Acknowledgment emails.
* Simple yes/no responses.

### Custom Reply

If the quick replies don't fit, use the custom prompt field:

1. Enter a description of what you want the reply to say.
2. Click **Generate Reply**.
3. The AI generates a draft based on your instructions and the email context.

The field also shows **suggestions** based on the email content to help you get started.

## When the AI Agent is Enabled

When the AI Agent is on, the sidebar shows a simplified view with just the **Process Email** button. This is useful for:

* Forcing the agent to reprocess an email it already handled.
* Processing an email that arrived before the agent was enabled.
* Generating a response for an email the agent skipped.

## Out of Credits

If you've reached your daily email limit, the Process Email view will display a notification with an option to view your subscription plan and upgrade.


---

# 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/process-email.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.
