melvynx/lumail-skills/lumail
Claude Code and agent skill by melvynx/lumail-skills
- community
Checking that the SKILL.md file is still in the repository.
Manage Lumail email marketing via CLI. Use for subscribers, campaigns, tags, workflows, segments, transactional emails, analytics, TipTap campaign content, or Lumail API tools.
Install
npx vskill@latest install melvynx/lumail-skills/lumailSKILL.md
The same SKILL.md was published earlier as melvynx/lumail-skills/lumail.
Lumail - Email Marketing CLI
Interact with the Lumail API using npx lumail. The CLI exposes the most-used resources directly, plus a generic tools runner that gives access to up to 96 organization-aware tools used by AI agents.
Quick Start
auth login runs the OAuth flow: it registers a public client, opens the browser with a PKCE challenge, waits on a loopback callback, and stores the credential in ~/.config/lumail/oauth.json (mode 0600). Expired tokens refresh automatically before each command. Prefer it — do not ask the user for an API token unless they bring one up themselves.
An API token still works for CI and for named accounts:
For the MCP connection installed by the Lumail plugin, see the lumail-plugin skill instead — that one needs no credential at all.
Named Accounts
Lumail supports named API-key accounts so one machine can target multiple organizations without overwriting the default token.
Use named accounts whenever the user names an account or org slug, for example `thumbfast`. Do not swap `~/.config/lumail/token` manually.
When the current URL contains /orgs/<orgSlug>/, use --account <orgSlug> for every CLI call. Run lumail accounts list before the first mutation. Never silently fall back to another named account: API tokens are organization-scoped, so the wrong account can hide feature-gated tools or target the wrong data.
If the requested account is missing but the default token is already authenticated for that organization, save it explicitly before continuing:
If configure_workflow_v2_draft returns Tool not found, first compare the default catalog with the named account catalog. The tool is intentionally hidden when Workflow V2 is disabled for the token's organization.
Named accounts are stored in ~/.config/lumail/accounts.json:
Account-aware CLI
Use -a / --account on the command or subcommand:
For Thumbfast-specific Lumail work, use:
Stale Installed CLI Fallback
Some installed npx lumail, global lumail, or lumail-cli binaries may be stale and may not expose accounts or --account. If lumail --help does not show -a, --account <name>, run the account-aware source CLI from the Lumail checkout with Bun instead:
This source CLI reads the same ~/.config/lumail/accounts.json account store.
Global Flags
All commands accept these:
| Flag | Description | |||
|---|---|---|---|---|
--json | Output as JSON | |||
| `--format <text\ | json\ | csv>` | Output format (default: text) | |
--verbose | Enable debug logging | |||
--no-color | Disable colored output | |||
--no-header | Omit table headers (for piping) | |||
-a, --account <name> | Use a named account, when supported by the active CLI |
Authentication
| Command | Description | |
|---|---|---|
npx lumail auth set <token> | Save API key to ~/.config/lumail/token | |
npx lumail auth show | Show masked token | |
npx lumail auth show --raw | Show full token | |
npx lumail auth remove | Delete saved token | |
npx lumail auth test | Verify the token is valid |
If multiple Lumail organizations are used on the same machine, prefer named accounts:
| Command | Description | |
|---|---|---|
lumail accounts add <name> <token> | Save a named API key in ~/.config/lumail/accounts.json | |
lumail accounts list | List configured named accounts with masked tokens | |
lumail accounts show <name> | Show a masked named account token | |
lumail accounts show <name> --raw | Show the full named account token | |
lumail accounts remove <name> | Delete a named account |
Resources (first-class CLI commands)
subscribers
| Command | Description | |
|---|---|---|
npx lumail subscribers list | List subscribers | |
npx lumail subscribers list --tag newsletter --status SUBSCRIBED --limit 50 | Filter by tag and status | |
npx lumail subscribers list --query "john" --limit 20 | Search by name or email | |
npx lumail subscribers list --cursor <subscriberId> | Cursor pagination | |
npx lumail subscribers create --email user@example.com --name "John" --tags vip beta | Upsert subscriber | |
npx lumail subscribers get user@example.com | By email or ID | |
npx lumail subscribers update user@example.com --name "John Doe" --tags premium | Append tags | |
npx lumail subscribers update user@example.com --tags premium --replace-tags | Replace tags | |
npx lumail subscribers delete user@example.com | Hard delete | |
npx lumail subscribers unsubscribe user@example.com | Unsubscribe | |
npx lumail subscribers add-tags user@example.com --tags vip premium | Add tags | |
npx lumail subscribers remove-tags user@example.com --tags old-tag | Remove tags | |
npx lumail subscribers events user@example.com --take 50 --order desc | Recent events |
Statuses: SUBSCRIBED, UNSUBSCRIBED, BOUNCED, COMPLAINED, INACTIVE, UNCONFIRMED.
campaigns
| Command | Description | |
|---|---|---|
npx lumail campaigns list | List campaigns | |
npx lumail campaigns list --status DRAFT --page 1 --limit 50 | Filter by status | |
npx lumail campaigns list --query "welcome" --json | Search by name/subject | |
npx lumail campaigns create --subject "Welcome!" --name "Welcome" --preview "Welcome aboard" | Create draft | |
npx lumail campaigns get <campaignId> | Get details | |
npx lumail campaigns update <campaignId> --subject "..." --preview "..." | Metadata only (subject/name/preview) | |
npx lumail campaigns delete <campaignId> | DRAFT only | |
npx lumail campaigns send <campaignId> | Send immediately | |
npx lumail campaigns send <campaignId> --scheduled-at 2026-01-15T10:00:00Z --timezone Europe/Paris | Schedule |
Statuses: DRAFT, SCHEDULED, SENDING, SENT, ARCHIVED, FAILED.
Important:campaigns updatedoes NOT touch the email body. To edit content, usetools run edit_campaign(see "Editing campaign content" below).
tags
| Command | Description | |
|---|---|---|
npx lumail tags list | List all tags | |
npx lumail tags create --name "premium" | Create tag | |
npx lumail tags get premium | By name or ID | |
npx lumail tags update <id> --name "gold" | Rename |
To delete a tag, use tools run delete_tag --params '{"tagId":"..."}' (dangerous action, requires confirmation).
emails (transactional)
| Command | Description | |
|---|---|---|
npx lumail emails send --to user@example.com --from noreply@you.com --subject "..." --content "..." --content-type MARKDOWN | Send | |
npx lumail emails send ... --content-type HTML | HTML body | |
npx lumail emails send ... --content-type TIPTAP --content '<JSON>' | TipTap body | |
npx lumail emails send ... --reply-to support@you.com --transactional | With reply-to + tracking off | |
npx lumail emails verify user@example.com | Verify deliverability |
events
| Command | Description | |
|---|---|---|
npx lumail events create --type SUBSCRIBER_PAYMENT --subscriber user@example.com --data '{"amount":99,"plan":"pro"}' | Track an event |
This is the start of the file. Read the full SKILL.md on GitHub.
Security
- Security scanPassed, 90 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/lumail/SKILL.md
Popularity
- Repository stars
- 2
- 7-day trend score
- 5
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/melvynx/lumail-skills/lumail)