Outlook email

From fanfan-de/anybox · View interactive version

Outlook email is an AI agent skill from the GitHub repository fanfan-de/anybox. Triage Outlook mail, extract tasks, clean up subscriptions, draft responses, and route shared mailbox work. Use when the user asks to inspect an Outlook inbox or thread, summarize open actions and deadlines, clean up newsletters, draft replies or forwards, organize mailbox follow-up work, or act on

How to use this skill

Skill file

Outlook Email

Overview

Use this skill to turn Outlook Email inbox and thread context into clear summaries, action lists, and ready-to-review drafts. Prefer Outlook-native list and search flows to build a shortlist, expand only the messages that matter, and treat mailbox mutations as separate explicit actions.

Outbound Outlook email writes are plain-text only. When drafting, replying, scheduling, or sending, do not plan around HTML bodies, rich formatting, tracking pixels, or formatting-dependent layouts. If the user asks for richer formatting, say briefly that Outlook email write actions here only support plain text, then translate the request into the clearest plain-text equivalent.

Preferred Deliverables

Workflow Skills

| Workflow | Skill |

| --- | --- |

| Inbox triage, urgency ranking, and reply-needed detection | ../outlook-email-inbox-triage/SKILL.md |

| Reply drafting, reply-all decisions, and send-vs-draft handling | ../outlook-email-reply-drafting/SKILL.md |

| Action-item, deadline, and commitment extraction | ../outlook-email-task-extraction/SKILL.md |

| Newsletter and subscription cleanup | ../outlook-email-subscription-cleanup/SKILL.md |

| Delegated or shared mailbox reads, sends, read-state changes, and moves | ../outlook-email-shared-mailboxes/SKILL.md |

Outlook Reading Pattern

  1. Prefer list_messages or search_messages to build the first-pass shortlist. These calls already return rich enough fields for most inbox navigation and thread-selection tasks.
  2. Use fetch_message or fetch_messages_batch only when the user explicitly needs fuller body content, longer context, or tighter evidence for task extraction.
  3. Use list_attachments and fetch_attachment when attachment metadata or file contents change the answer.
  4. Use draft-first actions for write preparation: create_reply_draft, create_forward_draft, or draft_email.
  5. Use schedule_email when the user explicitly wants a delayed send or send-later workflow rather than an immediate send.
  6. Use mailbox-organization actions only with clear user intent: mark_email_read_state, move_email, set_message_categories, create_category, create_mail_folder.
  7. For newsletter cleanup, inspect get_unsubscribe_info before assuming a safe unsubscribe path. unsubscribe_via_mailto only covers mailto: targets.
  8. For delegated or shared mailbox work, route to ../outlook-email-shared-mailboxes/SKILL.md. Do not use signed-in-user actions such as list_messages, fetch_message, send_email, mark_email_read_state, or move_email for another mailbox.

Workflow

  1. Read the mailbox or thread before drafting. Capture the subject, participants, latest message, action items, deadlines, and any attachments or links that matter.
  2. Summarize first when the thread is long or when the user needs help deciding how to respond.
  3. Draft replies with thread continuity. Acknowledge the latest message, preserve the user’s objective, and keep the response grounded in the actual thread.
  4. If the user asks for a reply but does not explicitly ask to send it, default to a draft.
  5. If the user asks you to send, first check whether the reply depends on any unstated facts, preferences, scheduling choices, or bundling decisions. If it does, stop and ask a concise confirmation question or present a draft plus the exact facts that still need confirmation before sending.
  6. Do not invent meeting acceptance, availability, commitments, status updates, ownership, or cross-thread summaries unless the user explicitly provided them or the thread itself establishes them.
  7. If you create a draft and the user later approves sending that draft, prefer sending or updating the existing draft artifact instead of recreating the same reply from scratch.
  8. Avoid orphaned drafts. If you must change send paths after drafting, reuse the draft when possible or explicitly tell the user that a stale draft remains and what you did about it.
  9. Separate mailbox analysis from action. Be explicit about whether you are summarizing, drafting, proposing a send, or suggesting triage.
  10. If the user wants the email to go out later, restate the exact send-later timestamp and timezone before calling schedule_email.
  11. Only send, schedule, move, archive, delete, or otherwise change Outlook mailbox state when the user has clearly asked for that action.
  12. For category-based triage or verification, prefer list_messages or mailbox-wide search/list results over fetch_message. Treat fetch_message category readback as unreliable if it returns categories: null after a successful category write.
  13. When forwarding via the Outlook connector, pass recipients as structured email-address objects rather than raw strings. If a forward call fails schema validation, inspect the expected recipient shape before retrying.
  14. Before forwarding, confirm that the source message match is unique enough for the requested description. If the user refers to "that email" or describes a message indirectly, verify there is exactly one plausible mailbox match or stop and ask.
  15. Before forwarding to a named person, confirm that the recipient identity is unique enough in mailbox context. If multiple plausible addresses exist for that person, stop and ask which one to use.
  16. If the forward target and source message were inferred from search rather than directly specified by message ID or exact address, say what you matched before sending.

What Stays In The Base Skill

Keep these workflows in the base Outlook Email skill instead of splitting them further for now:

Write Safety

Output Conventions

Example Requests

Light Fallback

If Outlook mailbox data is missing or incomplete, say that Microsoft Outlook access may be unavailable or scoped to the wrong mailbox or thread, then ask the user to reconnect or clarify the target.

If category writes succeed but direct message fetches return categories: null, say that the Outlook connector appears to have a category readback inconsistency. Verify categories from list_messages or broader mailbox scans instead of single-message fetches, and note the limitation clearly to the user.

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.