Iván
作者:Iván更新日 2026-05-11全 6 バージョン · 最新版の公開日 2026-02-16mail@clawhub_ivangdavila/mail
メール処理#Email

AlphaMoatによると、2026-09時点でMailのダウンロード数は4,877、スター数は4で、AIスキル全体5,078件中1,920位、オフィス効率化では435件中172位です。

インストール数
217
ダウンロード数
4877
スター数
4
総合順位
#1,920
全体の上位 38% · オフィス効率化の上位 40%
プラットフォームインストール数ダウンロード数スター数コメント
ClawHub ↗15548774-
SkillHub ↗21744764—

プラットフォームごとに集計方法と集計時点が異なります。

このスキルでできること

このスキルはメールの閲覧、検索、絞り込み、送信に対応し、環境に応じてHimalaya CLIまたはApple Mailのデータを使う。送信は下書き・確認・送信の手順に従う。明示的な確認なしにメールを削除せず、ユーザーの確認前に自動送信しない。GmailのアプリパスワードはmacOS Keychainに保存し、資格情報は変更しないと主文にある。 メール本文や添付ファイルには機密情報が含まれる場合があります。送信前に宛先と内容を確認し、ローカルのメールデータベースや書き出したファイルを保護してください。

資料公開日 2026-10-27

できること

  • メールを検索し、条件で絞り込む
  • 返信を下書きし、送信前に内容を確認する

使う場面

  • ユーザーがメールの閲覧、検索、管理を希望するとき
  • 送信や削除の前に確認とレビューが必要なとき

プロンプト例

スキルのドキュメントをもとに生成した例であり、実際の実行結果ではありません。

このメールを探して、確認用の返信案を作って
送信する内容を先に表示し、私の確認を待って

月次の推移

ダウンロード数4877
2613382950452026-03 · ダウンロード数 27812026-05 · ダウンロード数 35902026-06 · ダウンロード数 37902026-07 · ダウンロード数 41722026-08 · ダウンロード数 44322026-09 · ダウンロード数 487726-0326-09
スター数4
3452026-03 · スター数 42026-05 · スター数 42026-06 · スター数 42026-07 · スター数 42026-08 · スター数 42026-09 · スター数 426-0326-09

2026-09 から集計方法を変更し、同名スキルを作者ごとに分けて集計し、全スキルを対象にしました。破線は変更前の月で、変更後のデータとは直接比較せず、変更をまたぐ増減も計算していません。

月ダウンロード数前月比スター数
2026-094877—4
2026-084432+6.2%4
2026-074172+10.1%4
2026-063790+5.6%4
2026-053590—4
2026-032781—4

SKILL.md 原文

作者が公開した元のファイルをテキストのまま表示しています。AlphaMoat による編集や審査はしていません。リンクはクリックできません。コマンドは内容を確認してから実行してください。取得日 2026-10-23。

2.8 KB・ClawHub v1.2.0
---
name: Mail
slug: mail
version: 1.2.0
description: Execute email operations with platform-specific optimizations and secure credential handling.
changelog: Added explicit scope, requirements, and data access documentation
metadata: {"clawdbot":{"emoji":"📧","requires":{"bins":["himalaya"]},"os":["darwin","linux"]}}
---

## Requirements
すべて表示(全 77 行)

**Binaries:**
- `himalaya` - IMAP/SMTP CLI (`brew install himalaya` or `cargo install himalaya`)
- `osascript` - macOS only, built-in

**Credentials:**
- App Password for Gmail (not regular password), stored in macOS Keychain
- Configure in `~/.config/himalaya/config.toml`

## Data Access

**Read-only paths:**
- `~/Library/Mail/V*/MailData/Envelope Index` - Apple Mail SQLite database (macOS only)
- `~/Library/Mail/V*/MAILBOX/Messages/` - attachment files (macOS only)

## Scope

This skill:
- ✅ Reads email via himalaya CLI or Apple Mail SQLite
- ✅ Sends email via himalaya (draft-review-send workflow)
- ✅ Searches and filters messages
- ❌ NEVER modifies credentials
- ❌ NEVER deletes emails without explicit confirmation
- ❌ NEVER auto-sends without user review

## Quick Reference

| Topic | File |
|-------|------|
| Apple Mail SQLite queries | `apple-mail.md` |
| himalaya CLI patterns | `himalaya.md` |
| Send/reply protocol | `sending.md` |

## Core Rules

### 1. Platform Detection
- **macOS with Apple Mail**: Use SQLite queries (100x faster than AppleScript)
- **Cross-platform**: Use himalaya CLI for full IMAP/SMTP
- **Never mix approaches** in same task - commit to one to avoid state conflicts

### 2. Apple Mail SQLite
- Query path: `~/Library/Mail/V*/MailData/Envelope\ Index`
- **Force sync first**: `osascript -e 'tell app "Mail" to check for new mail'` - SQLite reads stale data otherwise
- Recent mail filter: `WHERE date_received > strftime('%s','now','-7 days')`
- Join `messages→addresses` on `message_id` for sender lookup

### 3. himalaya CLI
- **Always use**: `--output json` flag for programmatic parsing
- List emails: `himalaya envelope list -o json` (NOT `message list`)
- Folder names are case-sensitive
- Run `himalaya folder list` after server-side folder changes

### 4. Send Protocol
- **Draft-review-send workflow**: Compose → show user full content → send after explicit OK
- Reply threading: Include `In-Reply-To` and `References` headers or thread breaks
- Some SMTP servers reject if From header doesn't match authenticated user

### 5. Credential Management
- macOS Keychain: `security add-internet-password -s imap.gmail.com -a [email protected] -w 'app-password'`
- Gmail/Google Workspace: Requires App Password with 2FA enabled
- OAuth: himalaya supports XOAUTH2 via token_cmd in config.toml

### 6. Thread Intelligence
- Thread by `In-Reply-To` chain, not subject matching
- "Re:" prefix is unreliable
- Polling intervals: 15-30 min max; use `himalaya envelope watch` for real-time

オフィス効率化の人気スキル

Ivánのその他のスキル

データ月:2026-09 · ダウンロード数、スター数、インストール数は公開スキルレジストリ(ClawHub、SkillHub)から月単位で集計しています。詳しくはデータの方法論をご覧ください。