Skill: Gmail Auto-Reply for Client
Purpose
This skill enables the agent to automatically answer Gmail messages on behalf of a client. The agent drafts and (when the user approves or when configured) sends replies using the client’s tone, sign-off, and optional templates.
When to Use
- The user asks to “reply to my emails,” “answer my Gmail,” or “draft responses to incoming mail.”
- The user provides a Gmail context (e.g. “inbox for client@example.com”) and wants automated or semi-automated replies.
- The user wants the agent to act as the client when responding to specific threads or senders.
Prerequisites (User/Client Must Provide)
- Gmail access: OAuth2 or app password for the client’s Gmail (never store raw passwords in the skill; use environment variables or secure config).
- Client profile (optional but recommended): short brief (tone, sign-off, topics they handle, topics to defer).
Instructions
Gather context
- Ask for or read the client’s brief: tone (formal/casual), sign-off (e.g. “Best,” “Thanks,”), and any “do not answer” or “always escalate” rules.
- If the user provides an email thread or summary, use that as the incoming message to answer.
Draft the reply
- Write a concise, professional reply that:
- Addresses the sender and the main question or request.
- Matches the client’s tone and sign-off.
- Does not promise anything outside the client’s scope (e.g. legal/financial) unless the user explicitly approves.
- Prefer short paragraphs and clear next steps (e.g. “I’ll get back to you by Friday”).
Use templates when provided
- If the client has added templates (see
templates/reply_templates.json or user-defined templates), pick the closest match by intent (e.g. “acknowledgment,” “meeting request,” “out of office”) and personalize placeholders like {{sender_name}}, {{topic}}, {{deadline}}.
Safety and approval
- By default, output the draft for the user/client to approve before sending.
- Only auto-send if the user has clearly configured “auto-send” and you have applied the client’s rules and filters (e.g. only for certain labels or senders).
Integrations
- If the user has configured Gmail API (OAuth2) or IMAP/SMTP, use the credentials from environment or secure config—never from this skill’s files.
- When “sending,” either return the draft text for the user to paste/send, or call the configured send function if the user has set one up.
Files in This Package
SKILL.md – This file (skill instructions).
manifest.json – Package metadata.
templates/reply_templates.json – Optional starter templates (acknowledgment, meeting, short reply).
scripts/README.md – Short note on how the client can add their own scripts or rules.
Example Interaction
User: “Reply to this email as my client. Sender: Jane. She’s asking for a meeting next week. Client prefers a short, friendly reply and uses ‘Best’ as sign-off.”
Agent: Uses this skill to draft a short, friendly reply addressing Jane, suggesting a time or asking for availability, and signing “Best,” then returns the draft for the user to approve or send.
1---2name: skill-gmail-auto-reply-for-client3description: This skill enables the agent to automatically answer Gmail messages4 on behalf of a client. The agent drafts and (when the user approves or when5 configured) sends replies using the client’s tone, si...6metadata:7 source: https://skillmd.com/skills/modbender/skill-gmail-auto-reply-for-client8---910# Skill: Gmail Auto-Reply for Client
11
12## Purpose
13
14This skill enables the agent to **automatically answer Gmail messages on behalf of a client**. The agent drafts and (when the user approves or when configured) sends replies using the client’s tone, sign-off, and optional templates.
15
16## When to Use
17
18- The user asks to “reply to my emails,” “answer my Gmail,” or “draft responses to incoming mail.”
19- The user provides a Gmail context (e.g. “inbox for client@example.com”) and wants automated or semi-automated replies.
20- The user wants the agent to act as the client when responding to specific threads or senders.
21
22## Prerequisites (User/Client Must Provide)
23
24- **Gmail access**: OAuth2 or app password for the client’s Gmail (never store raw passwords in the skill; use environment variables or secure config).
25- **Client profile** (optional but recommended): short brief (tone, sign-off, topics they handle, topics to defer).
26
27## Instructions
28
291. **Gather context**
30 - Ask for or read the client’s brief: tone (formal/casual), sign-off (e.g. “Best,” “Thanks,”), and any “do not answer” or “always escalate” rules.
31 - If the user provides an email thread or summary, use that as the incoming message to answer.
32
332. **Draft the reply**
34 - Write a concise, professional reply that:
35 - Addresses the sender and the main question or request.
36 - Matches the client’s tone and sign-off.
37 - Does not promise anything outside the client’s scope (e.g. legal/financial) unless the user explicitly approves.
38 - Prefer short paragraphs and clear next steps (e.g. “I’ll get back to you by Friday”).
39
403. **Use templates when provided**
41 - If the client has added templates (see `templates/reply_templates.json` or user-defined templates), pick the closest match by intent (e.g. “acknowledgment,” “meeting request,” “out of office”) and personalize placeholders like `{{sender_name}}`, `{{topic}}`, `{{deadline}}`.
42
434. **Safety and approval**
44 - By default, **output the draft** for the user/client to approve before sending.
45 - Only auto-send if the user has clearly configured “auto-send” and you have applied the client’s rules and filters (e.g. only for certain labels or senders).
46
475. **Integrations**
48 - If the user has configured Gmail API (OAuth2) or IMAP/SMTP, use the credentials from environment or secure config—never from this skill’s files.
49 - When “sending,” either return the draft text for the user to paste/send, or call the configured send function if the user has set one up.
50
51## Files in This Package
52
53- `SKILL.md` – This file (skill instructions).
54- `manifest.json` – Package metadata.
55- `templates/reply_templates.json` – Optional starter templates (acknowledgment, meeting, short reply).
56- `scripts/README.md` – Short note on how the client can add their own scripts or rules.
57
58## Example Interaction
59
60**User:** “Reply to this email as my client. Sender: Jane. She’s asking for a meeting next week. Client prefers a short, friendly reply and uses ‘Best’ as sign-off.”
61
62**Agent:** Uses this skill to draft a short, friendly reply addressing Jane, suggesting a time or asking for availability, and signing “Best,” then returns the draft for the user to approve or send.