Token导航 LogoToken导航TokenDH.com
研究检索敏感数据clawhub未标认证来源可访问clear审计通过

fastmail-apifastmail API 搜索

Agent Skill

用于辅助 API 设计、接口文档、请求响应结构和服务集成说明。它适合让 Agent 梳理 endpoint、生成 OpenAPI 草稿、检查字段命名、整理错误码或辅助前后端联调。使用时需要确认真实业务语义、鉴权方式、分页和错误处理规则;涉及生成接口文档时,应避免凭空补字段,最好从现有代码、schema 或接口样例中提取事实。

总安装

9,338

周安装

393

GitHub Stars

公开资料未说明

下载量

3,270
OpenClaw

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

MIT-0

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:fastmail-api(fastmail API 搜索)
来源仓库:https://github.com/ivangdavila/fastmail-api
安装命令:
openclaw skills install fastmail-api
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 OpenClaw 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

ClawHubOpenClaw
openclaw skills install fastmail-api

简介

通过具有安全批处理和令牌卫生功能的 JMAP API 调用来管理 Fastmail 邮件、邮箱、身份、联系人和日历工作流程。

SKILL.md

name
Fastmail API
slug
fastmail-api
version
1.0.0
homepage
https://clawic.com/skills/fastmail-api
description
Manage Fastmail mail, mailbox, identity, contact, and calendar workflows through JMAP API calls with safe batching and token hygiene.
changelog
Initial release with production-safe Fastmail JMAP API workflows for mail, mailbox, identity, and calendar automation.
metadata
{"clawdbot":{"emoji":"📬","requires":{"bins":["curl","jq"],"env":["FASTMAIL_API_TOKEN"]},"os":["linux","darwin","win32"]}}

Fastmail API Operations

Setup

On first use, read setup.md for account integration preferences, activation rules, and credential handling.

When to Use

User needs to automate Fastmail through API calls: mailbox management, message search, draft/send flows, identity settings, contact operations, or calendar events. Agent handles capability discovery, safe request construction, and high-impact confirmation.

Architecture

Memory lives in ~/fastmail-api/. See memory-template.md for structure.

~/fastmail-api/
├── memory.md         # Account context, IDs, and operating preferences
├── request-log.md    # High-impact API actions and outcomes
└── snapshots/        # Optional payload backups before bulk writes

Quick Reference

Use these files when you need details beyond core operating rules.

TopicFile
Setup flowsetup.md
Memory templatememory-template.md
Session and method call patternsjmap-patterns.md
Mailbox and message workflowsmail-workflows.md
Contacts and calendar operationscalendar-contacts.md
Error handling and recoverytroubleshooting.md

Requirements

  • curl
  • jq
  • FASTMAIL_API_TOKEN
  • Optional: FASTMAIL_API_BASE (defaults to https://api.fastmail.com/jmap/api)

Never commit bearer tokens to repository files, shell history, or shared logs.

Data Storage

  • ~/fastmail-api/memory.md for account ID, preferred defaults, and workflow context
  • ~/fastmail-api/request-log.md for high-impact action history
  • ~/fastmail-api/snapshots/ for payload backups before bulk updates

Core Rules

1. Discover Session Capabilities Before First Write

  • Call the Fastmail JMAP session endpoint first to confirm apiUrl, primaryAccounts, and capability support.
  • Cache discovered account IDs in memory to avoid writing to the wrong account.
curl -sS https://api.fastmail.com/jmap/session \
  -H "Authorization: Bearer $FASTMAIL_API_TOKEN" | jq

2. Build Method Calls with Explicit Account Scope

  • Include using capabilities and account-specific IDs in each method call set.
  • Use deterministic clientCallId values so retries can be traced safely.
curl -sS "${FASTMAIL_API_BASE:-https://api.fastmail.com/jmap/api}" \
  -H "Authorization: Bearer $FASTMAIL_API_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
    "using": ["urn:ietf:params:jmap:mail", "urn:ietf:params:jmap:core"],
    "methodCalls": [
      ["Mailbox/get", {"accountId": "u123", "ids": null}, "c1"]
    ]
  }' | jq

3. Use Safe Pagination and Narrow Filters

  • Do not run unbounded queries on large inboxes; always set limits and filters.
  • Prefer Email/query plus Email/get windows over full mailbox dumps.

4. Confirm Destructive and Broad-Impact Actions

  • Confirm before mailbox deletes, message moves affecting many threads, identity updates, or bulk calendar edits.
  • For high-impact writes, record pre-change payloads in ~/fastmail-api/snapshots/.

5. Treat Partial Failures as First-Class Results

  • Inspect notCreated, notUpdated, and method-level errors after every write.
  • Report partial success explicitly and propose rollback or retry paths.

6. Redact Sensitive Data in Outputs

  • Never print raw authorization headers or full token strings in normal responses.
  • Redact addresses and subject lines when logs are shared outside trusted contexts.

7. Verify Post-Write State with Follow-Up Reads

  • After writes, run targeted read calls (Mailbox/get, Email/get, Contact/get, CalendarEvent/get) to confirm final state.
  • Only close tasks after state verification succeeds.

Safety Checklist

Before bulk updates, deletes, send flows, or identity changes:

  1. Confirm target account ID and environment.
  2. Capture a request snapshot for rollback context.
  3. Confirm user intent for irreversible actions.
  4. Execute smallest safe batch first.
  5. Verify resulting state with read calls.

Fastmail API Traps

  • Skipping session discovery can send writes to an incorrect account ID.
  • Missing capabilities in using causes method failures that look like auth issues.
  • Bulk message moves without filters can reorganize entire mailboxes accidentally.
  • Assuming all writes succeeded without checking notUpdated hides partial failure.
  • Logging bearer tokens in debugging output creates credential exposure risk.

External Endpoints

Only the official Fastmail JMAP endpoints below are used by this skill.

EndpointData SentPurpose
https://api.fastmail.com/jmap/sessionBearer token in Authorization headerDiscover API URLs, capabilities, and account IDs
https://api.fastmail.com/jmap/apiJMAP method payloads for mail, mailbox, identity, contacts, and calendar operationsExecute read and write workflows

No other data is sent externally.

Security & Privacy

Data that leaves your machine:

  • Authenticated JMAP payloads for mailbox, message, contact, and calendar operations
  • Message metadata required for requested queries and write actions

Data that stays local:

  • Operational context in ~/fastmail-api/memory.md
  • High-impact action history in ~/fastmail-api/request-log.md
  • Optional payload snapshots in ~/fastmail-api/snapshots/

This skill does NOT:

  • Send undeclared API traffic
  • Store bearer tokens in repository files
  • Execute destructive writes without explicit confirmation

Trust

By using this skill, mailbox and calendar operation data is sent to Fastmail infrastructure. Only install if you trust Fastmail with this operational data.

Related Skills

Install with clawhub install <slug> if user confirms:

  • api - Build robust HTTP request and response workflows for complex APIs
  • oauth - Handle token lifecycle and secure delegated authorization flows
  • mail - Plan high-quality email workflows, tone, and delivery structure
  • webhook - Orchestrate event-driven integrations that react to API-side changes

Feedback

  • If useful: clawhub star fastmail-api
  • Stay updated: clawhub sync

适合场景

01

OpenClaw 用户查找和安装 Skill 时

02

用户想查找某类 Agent Skill 时

03

需要根据任务场景推荐可安装能力包时

04

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

补充不同宿主或平台的使用分布数据

能力 5

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

OpenClaw

75.81%
按下载量换算2,479

安全审计

VirusTotal

通过

ClawScan

通过

Static analysis

通过

权限和风险

敏感数据

该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills