通过 JMAP 和 CalDAV API 管理 Fastmail 电子邮件和日历。用于电子邮件(阅读、发送、回复、搜索、组织、批量操作、线程)或日历(活动、提醒、RSVP 邀请)。从系统自动检测时区。
数据来源:ClawHub。 在 ClawSkills 查看
选择你使用的 Agent
方法一:命令行安装(推荐)
推荐(无需提前安装 clawhub)
npx clawhub@latest --dir ~/.claude/skills install fastmail或使用 clawhub CLI(需提前安装)
clawhub --dir ~/.claude/skills install fastmail⚠️ 需要 Node.js 18+,没有 Node?请使用下方方法二直接下载 ZIP。 安装 Node.js →
方法二:手动下载安装(无需 Node)
下载 ZIP,解压后将文件夹放到以下路径,重启 Agent 即可:
安装路径
~/.claude/skills/fastmail/💡解压后将文件夹放到上方路径,重启 Agent 即可生效
--- name: fastmail description: Manages Fastmail email and calendar via JMAP and CalDAV APIs. Use for emails (read, send, reply, search, organize, bulk operations, threads) or calendar (events, reminders, RSVP invitations). Timezone auto-detected from system. compatibility: opencode metadata: author: witooh version: "2.1" api: JMAP, CalDAV ---
Invoke tools via CLI:
# Install dependencies first
cd .opencode/skills/fastmail && bun install
# Email: List mailboxes
bunx fastmail list_mailboxes
# Email: Send
bunx fastmail send_email \
'{"to": [{"email": "[email protected]"}], "subject": "Hi", "text_body": "Message"}'
# Calendar: List events
bunx fastmail list_events \
'{"start_date": "2024-01-01", "end_date": "2024-01-31"}'
# Calendar: Create event with reminder
bunx fastmail create_event_with_reminder \
'{"title": "Meeting", "start": "2024-01-15T10:00:00", "end": "2024-01-15T11:00:00", "reminder_minutes": [15, 60]}'
# List all available tools
bunx fastmail --list
| Tool | Purpose | |------|---------| | list_mailboxes | List all folders | | list_emails | List emails in mailbox | | get_email | Get full email content | | get_thread | Get all emails in a conversation thread | | search_emails | Search by text query | | send_email | Send new email | | reply_email | Reply to email | | move_email | Move to folder | | set_labels | Apply labels ($seen, $flagged) | | delete_email | Delete (move to trash) |
| Tool | Purpose | |------|---------| | bulk_move_emails | Move multiple emails at once | | bulk_set_labels | Apply labels to multiple emails | | bulk_delete_emails | Delete multiple emails at once |
| Tool | Purpose | |------|---------| | list_calendars | List all calendars | | list_events | List events by date range | | get_event | Get event details | | create_event | Create new event | | update_event | Update existing event | | delete_event | Delete event | | search_events | Search by title/description | | create_recurring_event | Create repeating event | | list_invitations | List calendar invitations | | respond_to_invitation | Accept/decline/maybe invitations |
| Tool | Purpose | |------|---------| | add_event_reminder | Add reminder to event | | remove_event_reminder | Remove reminder(s) | | list_event_reminders | List reminders for event | | create_event_with_reminder | Create event + reminder in one call |
# Check inbox (limit 10)
bunx fastmail list_emails '{"limit": 10}'
# Search for emails
bunx fastmail search_emails '{"query": "invoice"}'
# Get specific email content
bunx fastmail get_email '{"email_id": "xxx"}'
# Get email thread/conversation
bunx fastmail get_thread '{"email_id": "xxx"}'
# Bulk operations
bunx fastmail bulk_move_emails '{"email_ids": ["id1", "id2"], "target_mailbox_id": "archive"}'
bunx fastmail bulk_delete_emails '{"email_ids": ["id1", "id2", "id3"]}'
# Create recurring event (daily for 10 days)
bunx fastmail create_recurring_event \
'{"title": "Standup", "start": "2024-01-01T09:00:00", "end": "2024-01-01T09:30:00", "recurrence": "daily", "recurrence_count": 10}'
# Calendar invitations
bunx fastmail list_invitations
bunx fastmail respond_to_invitation '{"event_id": "xxx", "response": "accept"}'
Need to manage email?
list_emails or search_emailsget_emailget_threadsend_email or reply_emailmove_email, set_labels, delete_emailbulk_move_emails, bulk_set_labels, bulk_delete_emailsNeed to manage calendar?
list_calendars or list_eventscreate_event or create_recurring_eventupdate_eventdelete_eventlist_invitations, respond_to_invitationNeed reminders?
add_event_remindercreate_event_with_reminder (faster)list_event_reminders, remove_event_reminderAll tools return JSON:
{
"success": true,
"data": { /* tool-specific response */ },
"timestamp": "2024-01-15T10:00:00+07:00"
}
| Variable | Purpose | Required | |----------|---------|----------| | FASTMAIL_API_TOKEN | Email via JMAP | Yes (for email) | | FASTMAIL_USERNAME | Calendar via CalDAV | Yes (for calendar) | | FASTMAIL_PASSWORD | Calendar app password | Yes (for calendar) | | FASTMAIL_TIMEZONE | Calendar timezone (IANA format) | No (auto-detected) |
Setup:
export FASTMAIL_API_TOKEN="your-api-token"
export FASTMAIL_USERNAME="[email protected]"
export FASTMAIL_PASSWORD="your-app-password"
# Optional: Override timezone (defaults to system local timezone)
export FASTMAIL_TIMEZONE="America/New_York" # or "Asia/Bangkok", "Europe/London", etc.
⏰ Configurable calendar timezone
FASTMAIL_TIMEZONE environment variableAmerica/New_York, Asia/Bangkok, Europe/London).opencode/skills/fastmail/references/TOOLS.md.opencode/skills/fastmail/README.md安装 快速邮件 后,可以对 AI 说这些话来触发它
Send a Slack message to the #engineering channel about the deployment
Formats and sends the message with relevant context, tagging the right people
Summarize all unread messages in my inbox from today
Reads messages across connected channels and returns a prioritized summary
Draft a reply to this customer complaint and send it for review
Writes an empathetic, professional response and routes it to the approval queue
将技能文件夹放到 ~/.claude/skills/fastmail/ 目录(个人级,所有项目可用),或 .claude/skills/fastmail/(项目级)。重启 AI 客户端后,用 /fastmail 主动调用,或让 AI 根据上下文自动发现并使用。
快速邮件 支持 Claude、Cursor、OpenClaw,可与这些 AI 平台无缝集成,扩展其能力。
快速邮件 可免费安装使用。请查阅仓库了解许可证信息。
通过 JMAP 和 CalDAV API 管理 Fastmail 电子邮件和日历。用于电子邮件(阅读、发送、回复、搜索、组织、批量操作、线程)或日历(活动、提醒、RSVP 邀请)。从系统自动检测时区。
快速邮件 属于「Communication」分类,该分类的技能帮助 AI 智能体在此领域执行专业任务。