agentmail-check-email
Installation
SKILL.md
Check Email
Use read operations to find the relevant mail, then fetch enough context to answer accurately.
Read workflow
- Resolve the inbox with
list_inboxeswhen the user did not specify one. - Use
search_messagesorsearch_threadsfor keywords; use list operations for recency, sender, recipient, label, or date filters. - Follow pagination until the requested range is covered. Do not imply that the first page is the entire mailbox.
- Fetch the full thread with
get_threadbefore summarizing body content. List and search results contain only previews; the MCP server has no message-level fetch tool. - Prefer
extracted_textorextracted_htmlfor a reply's new content; fall back totextorhtmlonly when extraction is unavailable. - Present concise results with inbox, sender, subject, timestamp, message ID, and thread ID when useful.
Labels and workflow state
Labels are AgentMail's read/unread and workflow-state mechanism. Use update_message to add or remove labels (for example clearing unread after processing, or applying needs-reply / processed schemes), then filter later reads with label parameters on list operations. A triage loop that never updates labels will re-process the same mail forever.