melvynx/lumail-skills/lumail

Claude Code and agent skill by melvynx/lumail-skills

Trust tier 3
  • community
Source check pending

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/lumail

SKILL.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

bash
npx lumail auth login # Sign in through the browser (recommended)
npx lumail auth test # Verify it works
npx lumail tools list # See every tool enabled for this organization

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:

bash
npx lumail auth set <api-key> # Save token (~/.config/lumail/token)

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:

bash
TOKEN=$(tr -d '\n' < ~/.config/lumail/token)
lumail accounts add <orgSlug> "$TOKEN"

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:

json
{
"accounts": {
"thumbfast": "lum_..."
}
}
Account-aware CLI

Use -a / --account on the command or subcommand:

bash
lumail accounts add thumbfast <api-key>
lumail tools run get_campaign --account thumbfast --params '{"campaignId":"cmp_..."}' --json
lumail tools run edit_campaign --account thumbfast --params '{"id":"cmp_...","operations":[{"op":"replace_text","search":"old","replace":"new","all":true}]}' --json

For Thumbfast-specific Lumail work, use:

bash
lumail tools run get_campaign --account thumbfast --params '{"campaignId":"<campaignId>"}' --json
lumail tools run edit_campaign --account thumbfast --params '{"id":"<campaignId>","subject":"New subject"}' --json
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:

bash
cd /Users/melvynx/Developer/projects/lumail.io
bun src/cli/index.ts --help
bun src/cli/index.ts accounts add thumbfast <api-key>
bun src/cli/index.ts tools run get_campaign --account thumbfast --params '{"campaignId":"cmp_..."}' --json
bun src/cli/index.ts tools run edit_campaign --account thumbfast --params '{"id":"cmp_...","operations":[{"op":"replace_text","search":"old","replace":"new","all":true}]}' --json

This source CLI reads the same ~/.config/lumail/accounts.json account store.

Global Flags

All commands accept these:

FlagDescription
--jsonOutput as JSON
`--format <text\json\csv>`Output format (default: text)
--verboseEnable debug logging
--no-colorDisable colored output
--no-headerOmit table headers (for piping)
-a, --account <name>Use a named account, when supported by the active CLI

Authentication

CommandDescription
npx lumail auth set <token>Save API key to ~/.config/lumail/token
npx lumail auth showShow masked token
npx lumail auth show --rawShow full token
npx lumail auth removeDelete saved token
npx lumail auth testVerify the token is valid

If multiple Lumail organizations are used on the same machine, prefer named accounts:

CommandDescription
lumail accounts add <name> <token>Save a named API key in ~/.config/lumail/accounts.json
lumail accounts listList configured named accounts with masked tokens
lumail accounts show <name>Show a masked named account token
lumail accounts show <name> --rawShow the full named account token
lumail accounts remove <name>Delete a named account

Resources (first-class CLI commands)

subscribers
CommandDescription
npx lumail subscribers listList subscribers
npx lumail subscribers list --tag newsletter --status SUBSCRIBED --limit 50Filter by tag and status
npx lumail subscribers list --query "john" --limit 20Search by name or email
npx lumail subscribers list --cursor <subscriberId>Cursor pagination
npx lumail subscribers create --email user@example.com --name "John" --tags vip betaUpsert subscriber
npx lumail subscribers get user@example.comBy email or ID
npx lumail subscribers update user@example.com --name "John Doe" --tags premiumAppend tags
npx lumail subscribers update user@example.com --tags premium --replace-tagsReplace tags
npx lumail subscribers delete user@example.comHard delete
npx lumail subscribers unsubscribe user@example.comUnsubscribe
npx lumail subscribers add-tags user@example.com --tags vip premiumAdd tags
npx lumail subscribers remove-tags user@example.com --tags old-tagRemove tags
npx lumail subscribers events user@example.com --take 50 --order descRecent events

Statuses: SUBSCRIBED, UNSUBSCRIBED, BOUNCED, COMPLAINED, INACTIVE, UNCONFIRMED.

campaigns
CommandDescription
npx lumail campaigns listList campaigns
npx lumail campaigns list --status DRAFT --page 1 --limit 50Filter by status
npx lumail campaigns list --query "welcome" --jsonSearch 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/ParisSchedule

Statuses: DRAFT, SCHEDULED, SENDING, SENT, ARCHIVED, FAILED.

Important: campaigns update does NOT touch the email body. To edit content, use tools run edit_campaign (see "Editing campaign content" below).
tags
CommandDescription
npx lumail tags listList all tags
npx lumail tags create --name "premium"Create tag
npx lumail tags get premiumBy 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)
CommandDescription
npx lumail emails send --to user@example.com --from noreply@you.com --subject "..." --content "..." --content-type MARKDOWNSend
npx lumail emails send ... --content-type HTMLHTML body
npx lumail emails send ... --content-type TIPTAP --content '<JSON>'TipTap body
npx lumail emails send ... --reply-to support@you.com --transactionalWith reply-to + tracking off
npx lumail emails verify user@example.comVerify deliverability
events
CommandDescription
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

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
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/melvynx/lumail-skills/lumail/badge)](https://verified-skill.com/skills/melvynx/lumail-skills/lumail)

Something wrong with this skill or its page? Tell us.