Logo von Ms Mail Skill

Ms Mail Skill

Community
zeenie-ai
ms-mail-skill

Send, read, search, reply to, and handle attachments of Outlook email via Microsoft Graph — for your own mailbox or a shared mailbox. Compose messages, list recent mail, search by text, reply/reply-all, and list or download file attachments (e.g. PDFs) for parsing.

Übersicht

Herausgeberzeenie-ai
RepositoryOpenCompany
Skill-Namems-mail-skill
Sterne
912
Forks
137
Mitgelieferte Dateien
Nur Anweisungen
LizenzMIT
Links
  • Anweisungen in Markdown

    Eine SKILL.md-Datei, die das Modell bei Bedarf lädt. So werden nur dann Token verbraucht, wenn eine Anfrage tatsächlich dazu passt.

  • Funktioniert mit jedem LLM

    KI-Skills bestehen aus reinem Markdown, nicht aus anbieterspezifischem Code. Daher funktionieren sie mit GPT, Claude, Gemini, Grok oder einem lokalen Modell.

  • In sich abgeschlossen

    Alles, was das Modell braucht, steht in den Anweisungen — keine zusätzlichen Dateien zum Synchronisieren.

  • Open Source

    Von zeenie-ai auf GitHub veröffentlicht. Prüfen Sie vor der Installation die Quelldateien.

Installation

Installieren Sie den KI-Skill Ms Mail Skill in TypingMind, um ihn mit jedem LLM zu nutzen, oder fügen Sie ihn einem anderen Agenten hinzu, der SKILL.md lesen kann.

1

In TypingMind installieren

TypingMind installiert einen Skill direkt aus seinem GitHub-Ordner. Dabei liest die App SKILL.md, bündelt die Ressourcendateien und speichert das Ergebnis lokal.

  1. Öffnen Sie die App und gehen Sie zu Plugins → Skills.
  2. Wählen Sie „Von GitHub installieren“.
  3. Fügen Sie die unten angegebene URL des Skill-Ordners ein und bestätigen Sie.
    https://github.com/zeenie-ai/OpenCompany/tree/main/server/skills/productivity_agent/ms-mail-skill
  4. Aktivieren Sie den Skill in jedem Chat, in dem er verfügbar sein soll.
Plugins → Skills → Skill hinzufügen → Über GitHub-URL. Fügen Sie dann die Ordner-URL ein und klicken Sie auf „Weiter“.
2

In einem anderen Agenten installieren

Jeder Agent, der das Agent-Skills-Format unterstützt, kann diesen Skill nutzen. Kopieren Sie den Ordner in das Skill-Verzeichnis des jeweiligen Agenten.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/zeenie-ai/OpenCompany.git /tmp/OpenCompany
mkdir -p .claude/skills
cp -r /tmp/OpenCompany/server/skills/productivity_agent/ms-mail-skill .claude/skills/ms-mail-skill
Starten Sie Claude Code nach dem Kopieren neu, damit der neue Skill erkannt wird.

In TypingMind verwenden

Aktivieren Sie Ms Mail Skill in einem beliebigen Chat in TypingMind. Den Rest übernimmt das Modell. Name und Beschreibung des Skills stehen im System-Prompt. Sobald eine Anfrage passt, lädt das Modell selbstständig die vollständigen Anweisungen — Sie müssen den Skill nie manuell aufrufen, und er verbraucht erst Token, wenn er tatsächlich genutzt wird.

Das Modell lädt Ms Mail Skill automatisch, sobald eine passende Anfrage gestellt wird.

Funktioniert mit jedem KI-Modell

KI-Skills bestehen aus reinen Markdown-Anweisungen statt aus anbieterspezifischem Code. Daher ist Ms Mail Skill nicht an das Modell gebunden, für das der Skill geschrieben wurde. Installieren Sie ihn einmal in TypingMind und nutzen Sie ihn mit GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama oder einem selbst betriebenen lokalen Modell — alles mit Ihren eigenen API-Schlüsseln.

  • Wird nur bei Bedarf geladen

    Der System-Prompt enthält nur den Namen und die Beschreibung. Die Anweisungen werden bei der ersten passenden Anfrage geladen. Ein ungenutzter Skill verursacht daher keine Kosten.

  • Modell im laufenden Chat wechseln

    Da der Skill aus Anweisungen statt aus Code besteht, funktioniert er auch nach einem Modellwechsel — das nächste Modell liest dieselbe SKILL.md-Datei.

Skill-Anweisungen

Dies ist der Inhalt von SKILL.md, den das Modell lädt. Lesen Sie ihn vor der Installation — ein Skill besteht aus Anweisungen, denen Ihr Modell folgt.

Outlook Mail Skill

Send, read, search, reply to, and handle attachments of email using the Microsoft Graph API (Outlook / Microsoft 365).

Tool: ms_mail

Consolidated Outlook Mail tool with an operation parameter.

Operations

OperationDescriptionRequired Fields
sendSend an emailto, subject, body
readRead a message by ID, or list recent mail when no ID is given(message_id optional)
searchSearch messages by textquery
replyReply to a messagereply_message_id, comment
list_attachmentsList a message's attachments (metadata only, no download)message_id
download_attachmentsDownload file attachments into the workspacemessage_id

Every read/search result includes a has_attachments boolean per message — check it before calling list_attachments / download_attachments.

send - Send an email

FieldTypeRequiredDescription
operationstringYesMust be "send"
tostringYesRecipient address(es), comma-separated
subjectstringYesEmail subject line
bodystringYesEmail body (plain text or HTML)
ccstringNoCC recipients (comma-separated)
bccstringNoBCC recipients (comma-separated)
body_typestringNo"text" or "html" (default: text)

Example - Send plain text email:

json
{
  "operation": "send",
  "to": "alice@contoso.com",
  "subject": "Meeting Tomorrow",
  "body": "Hi,\n\nJust a reminder about our meeting tomorrow at 2pm.\n\nBest regards"
}

Example - Send to multiple recipients with CC:

json
{
  "operation": "send",
  "to": "alice@contoso.com, bob@contoso.com",
  "cc": "manager@contoso.com",
  "subject": "Weekly Report",
  "body": "<h1>Weekly Report</h1><p>Highlights...</p>",
  "body_type": "html"
}

read - Read a message or list recent mail

FieldTypeRequiredDescription
operationstringYesMust be "read"
message_idstringNoMessage ID to fetch (with body). Omit to list recent messages.
max_resultsintegerNoMax messages when listing (default: 10, max: 100)

Each returned message includes has_attachments (boolean). When true, use list_attachments / download_attachments with that message_id.

Example - Read a specific message:

json
{
  "operation": "read",
  "message_id": "AAMkAGI2..."
}

Example - List the 20 most recent messages:

json
{
  "operation": "read",
  "max_results": 20
}

search - Search messages

FieldTypeRequiredDescription
operationstringYesMust be "search"
querystringYesFree-text search (Microsoft Graph $search)
search_max_resultsintegerNoMax results (default: 10, max: 100)

Microsoft Graph search matches across subject, body, sender, and recipients. Use natural keywords (e.g. invoice, from:jane quarterly plan); it does not use Gmail-style operators.

Example:

json
{
  "operation": "search",
  "query": "quarterly plan",
  "search_max_results": 20
}

reply - Reply to a message

FieldTypeRequiredDescription
operationstringYesMust be "reply"
reply_message_idstringYesID of the message to reply to (from search/read)
commentstringYesThe reply text
reply_allbooleanNoReply to all recipients (default: false)

Example:

json
{
  "operation": "reply",
  "reply_message_id": "AAMkAGI2...",
  "comment": "Thanks - looks good to me.",
  "reply_all": true
}

list_attachments - List a message's attachments (metadata only)

FieldTypeRequiredDescription
operationstringYesMust be "list_attachments"
message_idstringYesThe message whose attachments to list
include_inlinebooleanNoInclude inline body images (e.g. signature logos). Default false.

Returns attachments: [{attachment_id, name, content_type, size, is_inline, kind}] and count. kind is "file" for a downloadable file attachment; other values (itemAttachment, referenceAttachment) are shown so you know they cannot be downloaded as bytes. Inline images are excluded unless include_inline: true. This op does NOT download bytes — it is a cheap metadata lookup.

Example:

json
{
  "operation": "list_attachments",
  "message_id": "AAMkAGI2..."
}

download_attachments - Download file attachments into the workspace

FieldTypeRequiredDescription
operationstringYesMust be "download_attachments"
message_idstringYesThe message whose attachments to download
attachment_idstringNoDownload only this attachment. Omit to download all file attachments.
include_inlinebooleanNoInclude inline body images. Default false.

Saves each file attachment into the workflow workspace and returns:

  • attachments: [{filename, path, mime_type, size, ref}] — path is the absolute file path on disk (feed it to the Document Parser's file_path).
  • download_dir — the absolute directory the files landed in (feed it to the Document Parser's input_dir to parse all of them).
  • count, and skipped: [{name, reason}] for anything not downloaded (inline images, item/reference attachments, or files over the size limit).

Only real file attachments are downloaded. Item/reference attachments and (by default) inline images are skipped. Bytes are never returned inline — you get a path/reference, not the file contents.

Example - download all file attachments:

json
{
  "operation": "download_attachments",
  "message_id": "AAMkAGI2..."
}

Example - download one specific attachment:

json
{
  "operation": "download_attachments",
  "message_id": "AAMkAGI2...",
  "attachment_id": "AAMkAGI2...=="
}

Parsing an attachment (e.g. a PDF)

ms_mail downloads the file; it does NOT extract text. To read a PDF's contents, pair it with the Document Parser node on the canvas:

  1. ms_mail download_attachments → returns download_dir (and per-file path).
  2. Document Parser with input_dir = {{msMail.download_dir}} and file_pattern = *.pdf (or file_path = {{msMail.attachments[0].path}} for one file).
  3. Document Parser returns documents[].content — the extracted text.

Common Workflows

  1. Triage recent mail: read with no ID to list recent messages, then read a specific message_id for full content.
  2. Find a thread: search by keyword, take the message_id, then reply.
  3. Send an update: send to one or more recipients, optionally as HTML.
  4. Process an attachment: on a message with has_attachments: true, call download_attachments, then run the Document Parser over download_dir to get the text.

Shared mailboxes

Every operation accepts an optional mailbox field. Leave it empty to use the signed-in user's own mailbox (default). Set it to a shared/other mailbox address (e.g. support@contoso.com) to operate on that mailbox instead — the node then calls /users/{address}/… rather than /me/….

Requirements for a shared mailbox:

  • The signed-in account must have Full Access on the mailbox (and Send As / Send on Behalf to send from it).
  • The Mail.ReadWrite.Shared / Mail.Send.Shared scopes must be granted (reconnect in the Credentials Modal after these are added to re-consent).

Example - read a shared mailbox:

json
{
  "operation": "read",
  "mailbox": "support@contoso.com",
  "max_results": 20
}

Setup Requirements

  1. Connect the Outlook Mail node to an AI Agent's input-tools handle.
  2. Authenticate with Microsoft Graph in the Credentials Modal (Work/School account).
  3. Ensure the Mail.Send and Mail.ReadWrite scopes are granted (plus the .Shared variants if you use the mailbox field for a shared mailbox).

Häufig gestellte Fragen

Was macht der KI-Skill Ms Mail Skill?

Send, read, search, reply to, and handle attachments of Outlook email via Microsoft Graph — for your own mailbox or a shared mailbox. Compose messages, list recent mail, search by text, reply/reply-all, and list or download file attachments (e.g. PDFs) for parsing.

Warum Ms Mail Skill in TypingMind nutzen?

Weil Sie den Skill einmal installieren und mit jedem Modell verwenden können. Ms Mail Skill besteht aus reinem Markdown statt aus anbieterspezifischem Code. So funktioniert derselbe Skill mit GPT-5, Claude, Gemini, Grok oder einem lokalen Modell – und Sie können das Modell mitten im Chat wechseln, ohne dass der Skill seine Funktion verliert. TypingMind verwendet Ihre eigenen API-Schlüssel. Sie bezahlen die Anbieter daher direkt statt über ein Abonnement pro Nutzerplatz, und Ihre Skills und Chats bleiben in Ihrem eigenen Speicher.

Wie installiere ich Ms Mail Skill in TypingMind?

Öffnen Sie in TypingMind Plugins → Skills → Von GitHub installieren und fügen Sie https://github.com/zeenie-ai/OpenCompany/tree/main/server/skills/productivity_agent/ms-mail-skill ein. TypingMind liest die Datei SKILL.md und installiert den Skill, den Sie für jeden Chat einzeln aktivieren können.

Welche KI-Modelle können Ms Mail Skill nutzen?

Jedes Modell, das Sie mit TypingMind verbinden. KI-Skills bestehen aus reinen Markdown-Anweisungen statt aus anbieterspezifischem Code. Daher können GPT, Claude, Gemini, Grok und lokale Modelle diesen Skill laden, wenn eine Anfrage dazu passt.

Wie viele KI-Modelle kann ich mit Ms Mail Skill verwenden?

So viele Sie möchten. In TypingMind können Sie Ms Mail Skill mit jedem Modell verwenden, das Skills unterstützt, etwa mit GPT, Claude, Gemini, Grok, DeepSeek, Mistral oder Llama. Dabei nutzen Sie Ihre eigenen API-Schlüssel.

Ist der KI-Skill Ms Mail Skill kostenlos?

Ja. Der Skill wird von zeenie-ai auf GitHub unter der Lizenz MIT veröffentlicht. Sie bezahlen nur Ihren eigenen KI-Anbieter für die verwendeten Token.

Was sind KI-Skills?

Ein KI-Skill ist ein wiederverwendbares Anweisungspaket, das einem KI-Modell vermittelt, wie es eine bestimmte Aufgabe erledigt. Es folgt dem offenen Format Agent Skills: Die Datei SKILL.md enthält den Namen und die Beschreibung des Skills. Hinzu kommen bei Bedarf Skripte, Vorlagen oder Referenzdateien für das Modell. Das Modell liest die Anweisungen nur, wenn Ihre Anfrage zum Skill passt. Ein installierter Skill verursacht daher erst Kosten, wenn er verwendet wird.

Wie unterscheiden sich KI-Skills von Plugins oder MCP-Servern?

Ein Plugin oder MCP-Server stellt einem Modell neue aufrufbare Tools bereit – Code, der auf einem System ausgeführt wird und ein Ergebnis zurückgibt. Ein KI-Skill vermittelt dem Modell stattdessen Wissen und Vorgehensweisen: wie es eine Aufgabe angeht, welche Schritte es befolgt und wie eine gute Ausgabe aussieht. Skills bestehen aus reinem Markdown und kommen daher ohne Server, API-Schlüssel und Laufzeitumgebung aus. Sie funktionieren mit jedem Modell.

Alle anzeigen

Jetzt eigenen KI-Arbeitsbereich einrichten

Abonnieren Sie unseren Newsletter und erfahren Sie mehr über neue Funktionen und kommende Gewinnspiele 👇