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. If the account has no inboxes, say so and explain that AgentMail inboxes are the agent's own addresses, not the user's personal mailbox. Offer to create one and send the user a first message from it, so they have its address. - 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.
- List and search results contain only previews. Fetch a single hit with
get_message, or the whole conversation withget_thread, before summarizing body content. - 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.