draft-mail SKILL.md skillA

draft-mail from fmind/dot is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.

Install it, pinned
mdr add fmind/dot/draft-mail@git:20261031.ad68ebd

Pins git:20261031.ad68ebd in mdr.lock. Pin the fingerprint instead.

Audit grade
A, 17 of 17 checks passed
Kind
SKILL.md skill
Repository
fmind/dot
Path
skills/draft-mail/SKILL.md
Versions recorded
4
Latest version
git:20261031.ad68ebd, committed Oct 31, 2026
First version recorded
Oct 4, 2026
Size
5,847 bytes
Repository stars
13
License
MIT

Draft Gmail emails and replies in the recipient's language; never send.

Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.

What the file says

# Draft Mail

Write an email or reply as a rich HTML Gmail draft the user reviews and sends from Gmail. This skill never sends: a request to "send", even an approved one, still produces a draft plus a handoff. [gws](../gws/SKILL.md) owns authentication and Workspace API access; [`scripts/draft_email.py`](scripts/draft_email.py) owns MIME construction, signature injection, and reply quoting.

## Gmail Draft Creation Standards (Mandatory)

1. **Rich HTML Multipart Only**: NEVER create plain-text (`text/plain` only) or single-part drafts (`gws gmail +send` and `+reply` emit single-part bodies and omit `sendAs` signatures). Always construct a `multipart/alternative` MIME message containing both `text/plain` and `text/html` (`<div dir="ltr">` wrapper).
1. **Mandatory Signature Injection**: Fetch the user's official HTML signature dynamically via `gws gmail users settings sendAs get --params '{"userId": "me", "sendAsEmail": "<sender_email>"}'` and append it inside `<div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature">`.
1. **Thread Continuity & Quoted History (Replies)**: When replying to an existing thread:
   1. Set `threadId` in the draft payload.
…

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add fmind/dot/draft-mail@sha256:ee97cb1f35b75f80

The line at the top of this page pins the label git:20261031.ad68ebd, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.

Badge

mdr badge

[![mdr](https://markdownregistry.com/badge/art_yszq3tfozbv4ccak.svg)](https://markdownregistry.com/a/art_yszq3tfozbv4ccak)

5 badge image fetches in 30 days. What the badge shows.

Versions

The registry has recorded 4 versions of this file, between Oct 4, 2026 and Oct 31, 2026, about one every 9 days.

versioncommittedcommitsizeaudit
git:20261031.ad68ebd latest2026-10-31 ad68ebd 5,847 BA view · diff
git:20261029.62677f22026-10-29 62677f2 5,855 BA view · diff
git:20261005.e9af7a22026-10-05 e9af7a2 4,014 BA view · diff
git:20261004.f03a5512026-10-04 f03a551 3,985 BA view

Audit of the latest version

A  17 of 17 checks passed. Fixed automatic checks with no AI involved, so the same checks give the same answer every run.
  • pass: Frontmatter block present
  • pass: Frontmatter declares a name
  • pass: Frontmatter declares a description
  • pass: Size between 200 bytes and 200 KB (5847 bytes)
  • pass: No zero-width or bidi control characters
  • pass: No instruction hidden inside an HTML comment
  • pass: No link to an exfiltration or paste host
  • pass: No credential-shaped string
  • pass: No instruction to send local credentials anywhere
  • pass: No text hidden with inline styles
  • pass: No prompt-injection phrasing
  • pass: No curl or wget piped into a shell
  • pass: No recursive delete of root, home or parent
  • pass: No instruction to read or print local credentials
  • pass: No base64 blob over 200 characters
  • pass: No link to a raw IP address
  • pass: No script tag

Source

GitHub

fmind/dot · 13 stars · license MIT · pushed 2026-11-08 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_yszq3tfozbv4ccak
GET https://markdownregistry.com/api/v1/resolve?ref=fmind/dot/draft-mail
GET https://markdownregistry.com/api/v1/blob/ee97cb1f35b75f801750fd1083b4657936a59478ba423b8dd097f896f7a0e5ab

Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.

Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.

More from fmind/dot

chezmoi SKILL.md skill
fmind/dot · .agents/skills/chezmoi/SKILL.md · Manage chezmoi source names, templates, secrets, diffs, and deployment in fmind/dot.
git:20261031.ad68ebd · audit A · 13 stars
dot-development SKILL.md skill
fmind/dot · .agents/skills/dot-development/SKILL.md · Develop fmind/dot CLI commands, session parsers, storage, configuration, and installation.
git:20261108.979bb94 · audit A · 13 stars
dot-release SKILL.md skill
fmind/dot · .agents/skills/dot-release/SKILL.md · Prepare, publish, recover, and verify fmind/dot releases through the repository task.
git:20261107.e294cb4 · audit A · 13 stars
dot-skills SKILL.md skill
fmind/dot · .agents/skills/dot-skills/SKILL.md · Maintain fmind/dot skill packages, catalog budgets, package contracts, and installed links.
git:20261107.e294cb4 · audit A · 13 stars
dot-verify SKILL.md skill
fmind/dot · .agents/skills/dot-verify/SKILL.md · Qualify the fmind/dot working tree before a release: review changes, sync docs, run every gate, and smoke-test the dot…
git:20261107.e294cb4 · audit A · 13 stars
AGENTS.md AGENTS.md file
fmind/dot · AGENTS.md
git:20261107.e294cb4 · audit A · 13 stars
AGENTS.md@dot_agents AGENTS.md file
fmind/dot · dot_agents/AGENTS.md
git:20261108.05b58ca · audit A · 13 stars
acli SKILL.md skill
fmind/dot · skills/acli/SKILL.md · Search, plan, and update Atlassian Jira and Confluence with acli.
git:20261108.4bfae24 · audit A · 13 stars
agent-evaluation SKILL.md skill
fmind/dot · skills/agent-evaluation/SKILL.md · Evaluate prompt, model, retrieval, and agent changes with graded trials.
git:20261107.e294cb4 · audit A · 13 stars
agent-frameworks SKILL.md skill
fmind/dot · skills/agent-frameworks/SKILL.md · Build Python agents and their system prompts with Google ADK, LangGraph, LangChain, and agents-cli.
git:20261107.e294cb4 · audit A · 13 stars
agent-harnesses SKILL.md skill
fmind/dot · skills/agent-harnesses/SKILL.md · Operate and configure Claude Code, Copilot, and OpenCode.
git:20261108.68763da · audit A · 13 stars
agent-project SKILL.md skill
fmind/dot · skills/agent-project/SKILL.md · Set up repo AGENTS.md, shared skills/agents, host bridges, discovery, and vendor skills.
git:20261031.8e50753 · audit A · 13 stars

Every file in fmind/dot

Browse by kind, by grade A, or by owner.