Fastmail API
Manage Fastmail mail, mailbox, identity, contact, and calendar workflows through JMAP API calls with safe batching and token hygiene.
Why use this skill?
Automate your Fastmail inbox, calendar, and contacts with the Fastmail API skill for OpenClaw. Secure, batch-optimized JMAP integration.
Install via CLI (Recommended)
clawhub install openclaw/skills/skills/ivangdavila/fastmail-apiWhat This Skill Does
The Fastmail API skill provides a robust framework for managing your Fastmail account directly through the OpenClaw AI agent. By utilizing the JMAP (JSON Meta Application Protocol) standard, this skill allows the agent to perform granular operations across your mailboxes, contacts, and calendar. It acts as an abstraction layer that handles token security, request batching, and session discovery, ensuring that your interactions with the Fastmail backend are both efficient and error-resistant. It maintains a structured local memory in ~/fastmail-api/, enabling the agent to recall your account configuration, preferred mailbox IDs, and a log of high-impact historical actions to provide context-aware automation.
Installation
To install this skill, run the following command in your terminal within the OpenClaw environment:
clawhub install openclaw/skills/skills/ivangdavila/fastmail-api
Ensure that your environment variables are configured correctly by setting FASTMAIL_API_TOKEN in your secure shell environment. Refer to setup.md inside the repository for a guided walkthrough of credential handling and account initialization.
Use Cases
- Automated Inbox Cleanup: Search for emails older than 90 days from specific senders and move them to an archive folder or delete them to reclaim space.
- Calendar Syncing: Automatically extract event details from incoming meeting invitations and create corresponding entries in your Fastmail calendar.
- Contact Management: Sync your local contact lists with Fastmail and automate the deduplication or enrichment of contact cards.
- Draft Generation: Create draft responses for repetitive queries by pulling context from the last few messages in a thread.
Example Prompts
- "Check my inbox for emails from '[email protected]' received in the last 48 hours and move them to the 'Promotions' folder."
- "Draft a polite response to the latest email from John Doe, acknowledging receipt of the attached document."
- "Summarize the calendar events scheduled for this coming Friday and list them for me in a table."
Tips & Limitations
- Safety First: The skill implements high-impact confirmation. Always review the
request-log.mdif the agent executes large batch operations. - Pagination: Always request pagination or limits when querying large inboxes to avoid triggering API rate limits or excessive local memory usage.
- Token Hygiene: Never hardcode your API token into scripts or configuration files; keep it in a secure environment variable. The skill uses
jqto parse responses, so ensurejqis installed on your machine for the best performance.
Metadata
Not sure this is the right skill?
Describe what you want to build — we'll match you to the best skill from 16,000+ options.
Find the right skillPaste this into your clawhub.json to enable this plugin.
{
"plugins": {
"official-ivangdavila-fastmail-api": {
"enabled": true,
"auto_update": true
}
}
}Tags(AI)
Flags: network-access, file-write, file-read, external-api
Related Skills
Animations
Create performant web animations with proper accessibility and timing.
Arduino
Develop Arduino projects avoiding common wiring, power, and code pitfalls.
Bulgarian
Write Bulgarian that sounds human. Not formal, not robotic, not AI-generated.
Arabic
Write Arabic that sounds human. Not formal, not robotic, not AI-generated.
Assistant
Manage tasks, communications, and scheduling with proactive and organized support.