# Email Labels

MailAgent can automatically apply Gmail labels to emails after processing them. This helps you track which emails the AI has handled and what action was taken.

## Default Labels

When you enable the AI agent, MailAgent creates two labels in your Gmail:

| Label               | Meaning                                               |
| ------------------- | ----------------------------------------------------- |
| **Answered**        | The AI has sent a response (or created a draft).      |
| **Action Required** | The AI flagged this email as needing human attention. |

## Configuring Labels

1. Open the MailAgent sidebar in Gmail.
2. Click **Labels**.
3. Select which Gmail labels to use for classification.
4. Save.

You can use any existing Gmail label or let MailAgent create new ones.

## Classification Labels

Beyond the default labels, you can define custom classification labels. The AI will analyze the email content and apply the most appropriate label.

Common classification schemes:

* **By Priority:** Urgent, Normal, Low Priority
* **By Department:** Sales, Support, Billing, Engineering
* **By Action:** Needs Reply, FYI Only, Requires Approval
* **By Topic:** Bug Report, Feature Request, General Inquiry

## How Classification Works

1. The AI reads the incoming email.
2. Based on the email content and your configured labels, it determines the appropriate classification.
3. The label is applied to the email in Gmail.
4. The response label ("Answered" or "Action Required") is also applied.

## Tips

* Keep your label set manageable — 5-10 classification labels work best.
* Use descriptive label names so the AI can match emails accurately.
* Review classifications periodically and adjust your [Custom Prompt](https://support.mailagent.email/gmail-addon/custom-prompt) if the AI is miscategorizing.
