Logo van 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.

Overzicht

Uitgeverzeenie-ai
RepositoryOpenCompany
Skillnaamms-mail-skill
Sterren
912
Forks
137
Meegeleverde bestanden
Alleen instructies
LicentieMIT
Links
  • Instructies in Markdown

    Het model laadt het bestand SKILL.md alleen als dat nodig is. Dat kost dus alleen tokens als een verzoek daadwerkelijk bij de skill past.

  • Werkt met elk LLM

    AI-skills bestaan uit instructies in gewone Markdown, niet uit aanbiederspecifieke code. Daardoor werken ze met GPT, Claude, Gemini, Grok of een lokaal model.

  • Compleet zonder extra bestanden

    Alles wat het model nodig heeft, staat in de instructies — geen extra bestanden om te synchroniseren.

  • Open source

    Gepubliceerd door zeenie-ai op GitHub. Bekijk de bronbestanden voordat je de skill installeert.

Installatie

Installeer de AI-skill Ms Mail Skill in TypingMind om deze met elk LLM te gebruiken, of voeg de skill toe aan een andere agent die SKILL.md kan lezen.

1

Installeren in TypingMind

TypingMind installeert een skill rechtstreeks vanuit de GitHub-map. De app leest SKILL.md, bundelt de bijbehorende bestanden en slaat het resultaat lokaal op.

  1. Open de app en ga naar Plug-ins → Skills.
  2. Kies "Installeren via GitHub".
  3. Plak de onderstaande URL van de skillmap en bevestig.
    https://github.com/zeenie-ai/OpenCompany/tree/main/server/skills/productivity_agent/ms-mail-skill
  4. Schakel de skill in voor elke chat waarin je de skill wilt kunnen gebruiken.
Plug-ins → Skills → Skill toevoegen → Via GitHub-URL. Plak vervolgens de map-URL en druk op Doorgaan.
2

Installeren in een andere agent

Elke agent die het Agent Skills-formaat kan lezen, kan deze skill gebruiken — kopieer de map naar de skillmap van die agent.

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
Start Claude Code na het kopiëren opnieuw op, zodat de nieuwe skill wordt herkend.

Gebruik deze skill in TypingMind

Schakel Ms Mail Skill in voor een chat naar keuze in TypingMind en het model doet de rest. De naam en beschrijving staan in de systeemprompt. Zodra een verzoek bij de skill past, laadt het model zelf de volledige instructies. Je hoeft de skill nooit handmatig aan te roepen. Pas als het model de skill daadwerkelijk gebruikt, kost dat tokens.

Het model laadt Ms Mail Skill automatisch zodra een verzoek erbij past.

Werkt met elk AI-model

AI-skills zijn gewone Markdown-instructies in plaats van aanbiederspecifieke code. Daardoor is Ms Mail Skill niet gebonden aan het model waarvoor de skill is geschreven. Installeer de skill één keer in TypingMind en gebruik deze met GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama of een lokaal model dat je zelf draait — allemaal met je eigen API-sleutels.

  • Alleen geladen wanneer nodig

    De systeemprompt bevat alleen de naam en beschrijving. De instructies worden bij het eerste bijpassende verzoek opgehaald, dus een ongebruikte skill kost niets.

  • Wissel van model tijdens een chat

    Omdat de skill uit instructies bestaat en niet uit code, blijft deze werken als je van model wisselt — het volgende model leest hetzelfde SKILL.md-bestand.

Skillinstructies

Dit is de inhoud van SKILL.md die het model laadt. Lees deze vóór de installatie — een skill bestaat uit instructies die je model zal volgen.

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).

Veelgestelde vragen

Wat doet de AI-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.

Waarom Ms Mail Skill gebruiken in TypingMind?

Omdat je deze skill één keer installeert en met elk model kunt gebruiken. Ms Mail Skill bestaat uit gewone Markdown in plaats van aanbiederspecifieke code. Dezelfde skill werkt dus met GPT-5, Claude, Gemini, Grok of een lokaal model. Ook als je midden in een chat van model wisselt, blijft de skill werken. TypingMind werkt met je eigen API-sleutels, dus je betaalt aanbieders rechtstreeks in plaats van een abonnement per gebruikersplek af te sluiten. Je skills en chats blijven in je eigen opslag.

Hoe installeer ik Ms Mail Skill in TypingMind?

Open Plug-ins → Skills → Installeren vanaf GitHub in TypingMind en plak https://github.com/zeenie-ai/OpenCompany/tree/main/server/skills/productivity_agent/ms-mail-skill. TypingMind leest het bestand SKILL.md en installeert het als een skill die je per chat kunt inschakelen.

Welke AI-modellen kunnen Ms Mail Skill gebruiken?

Elk model dat je in TypingMind koppelt. AI-skills bestaan uit gewone Markdown-instructies in plaats van aanbiederspecifieke code. GPT, Claude, Gemini, Grok en lokale modellen kunnen deze skill dus allemaal laden wanneer een verzoek erbij past.

Hoeveel AI-modellen kan ik met Ms Mail Skill gebruiken?

Zoveel als je wilt. Je kunt Ms Mail Skill gebruiken met elk model dat skills ondersteunt, zoals GPT, Claude, Gemini, Grok, DeepSeek, Mistral of Llama. Allemaal in TypingMind met je eigen API-sleutels.

Is de AI-skill Ms Mail Skill gratis?

Ja. Deze skill is door zeenie-ai op GitHub gepubliceerd onder de licentie MIT. Je betaalt alleen je eigen AI-aanbieder voor de tokens die je gebruikt.

Wat zijn AI-skills?

Een AI-skill is een herbruikbare bundel instructies die een AI-model leert hoe het één specifieke taak moet uitvoeren. De skill volgt het open Agent Skills-formaat: het bestand SKILL.md bevat de naam en beschrijving van de skill. Daarnaast kan de skill scripts, sjablonen of referentiebestanden bevatten die het model nodig heeft. Het model leest de instructies alleen als je verzoek bij de skill past. Een geïnstalleerde skill kost dus niets zolang deze niet wordt gebruikt.

Waarin verschillen AI-skills van plug-ins of MCP-servers?

Een plug-in of MCP-server geeft een model nieuwe tools om aan te roepen: code die ergens wordt uitgevoerd en een resultaat teruggeeft. Een AI-skill geeft het model juist kennis en een werkwijze: hoe het een taak moet aanpakken, welke stappen het moet volgen en hoe goede uitvoer eruitziet. Skills bestaan uit gewone Markdown en hebben dus geen server, API-sleutel of runtime nodig. Ze werken met elk model.

Bekijk alles

Maak nu je eigen AI-werkruimte

Schrijf je in voor onze nieuwsbrief en blijf op de hoogte van nieuwe functies en toekomstige weggeefacties 👇