Gmail Secretary: Use Cases & Workflows
This document outlines the high-level workflows that the Gmail Secretary MCP enables for AI agents. By combining Gmail and Calendar tools, the server acts as a high-performance executive assistant.
1. The Monday Morning Triage
Goal: Get a structured overview of the week and prioritize the inbox.
Workflow:
- Inbox Sweep: The agent uses
get_unread_messagesandgmail_search(query="is:unread")to identify high-priority emails. - Calendar Sync: The agent calls
list_calendar_eventsfor the current week to identify busy blocks and deadlines. - Draft Briefing: The agent summarizes the top 5 urgent emails and highlights any calendar conflicts (e.g., "You have a meeting at 10 AM, but an urgent report was requested at 9:30 AM").
- Action: The agent proposes moving low-priority emails to
Secretary/Newsletterand flaggingSecretary/Priorityitems.
2. The Travel & Logistics Coordinator
Goal: Automatically extract travel details and ensure they are on the calendar.
Workflow:
- Search: The agent searches for recent keywords like "Confirmation", "Flight", "Hotel", or "Reservation".
- Deep Read: The agent uses
get_email_detailsorget_attachment_content(for PDF receipts) to extract dates, flight numbers, and addresses. - Calendar Check: The agent uses
get_calendar_availabilityto see if the travel times are free. - Event Creation: The agent calls
create_calendar_eventwith the extracted details, including the confirmation number in the description and the hotel address in the location field.
3. The Busy-Day Gatekeeper
Goal: Manage meeting invites and protect the user's focus time.
Workflow:
- Invite Detection: The agent uses
gmail_search(query="label:Secretary/Calendar")or parses incoming invites. - Availability Logic:
- If the time is free: Call
process_meeting_invite(availability_mode="business_hours")to draft an "Accept" reply. - If there is a conflict: The agent identifies the conflicting event and drafts a "Decline" or "Request Reschedule" reply.
- If the time is free: Call
- Buffer Management: The agent identifies "back-to-back" days and suggests moving meetings to create breathing room.
4. Newsletter & Intelligence Curator
Goal: Summarize long-form content and keep the inbox clean.
Workflow:
- Filter: The agent identifies newsletters (e.g., using
from:substack.comorlabel:Secretary/Newsletter). - Summarize: The agent fetches the full content of the 3 most recent newsletters.
- Bulletins: The agent creates a single "Intelligence Bulletin" email draft for the user, summarizing the key takeaways from all three, then marks the originals as read.
5. The "Waiting For" Nudger
Goal: Track outgoing requests and ensure nothing falls through the cracks.
Workflow:
- Sent Items Search: The agent searches
from:meemails containing questions or requests. - Thread Analysis: The agent uses
gmail_get_threadto see if a reply has been received. - Nudge Suggestion: If no reply has been received in >48 hours, the agent creates a draft "Gentle Follow-up" and alerts the user.