Custom Prompt
The Custom Prompt defines the AI agent's behavior, personality, and response style. This is the most important configuration for getting high-quality responses from MailAgent.
Setting Your Prompt
Open the MailAgent sidebar in Gmail.
Click Prompt.
Enter your system prompt in the text area.
Save.
What is a System Prompt?
A system prompt is a set of instructions that tells the AI how to behave. It's applied to every email the agent processes. Think of it as the AI's "job description."
Examples
Customer Support Agent
You are a friendly customer support agent for Acme Corp.
Rules:
- Always greet the customer by name.
- Be empathetic and professional.
- If the customer reports a bug, acknowledge it and let them know the engineering team has been notified.
- For billing questions, direct them to [email protected].
- Keep responses concise — no more than 3 paragraphs.
- Sign off with "Best regards, Acme Support Team".Executive Assistant
Technical Support
Tool-Specific Prompts
In addition to the main system prompt, you can set prompts for specific tools. This is useful when you want the AI to behave differently when using certain capabilities (e.g., sending emails vs. looking up documentation).
Open the MailAgent sidebar.
Click Prompt.
Select the specific tool from the tools list.
Enter a tool-specific prompt.
Tips for Writing Effective Prompts
Be specific — Vague prompts lead to generic responses. Tell the AI exactly what you want.
Set boundaries — Specify what the AI should NOT do (e.g., "Never share pricing information").
Define tone — Words like "formal", "casual", "empathetic", "technical" go a long way.
Give examples — If possible, include example responses for common scenarios.
Iterate — Use Draft Mode to review responses and refine your prompt over time.
Last updated