/encharge:emailsfrom encharge
Manage Encharge email templates — list, create, update, send transactional emails, and audit campaign setups.
Ships in encharge. Installing the plugin adds it to Claude Code.
Use these commands to manage email templates, transactional email workflows, and audit your email infrastructure in Encharge.
List email templates:
/encharge:emails list [--limit 50] [--account my-account]
Get template details:
/encharge:emails get template-id [--account my-account]
Create email template:
/encharge:emails create --name "Welcome Email" --subject "Welcome to our platform" --html-body "<html>...</html>"
Send transactional email:
/encharge:emails send --template-id abc123 --email [email protected] --variables '{"firstName": "John"}'
Update template:
/encharge:emails update template-id --subject "New Subject" --html-body "<html>...</html>"
Get email statistics:
/encharge:emails stats template-id [--account my-account]
encharge_get_emails: List all email templates with metadata
encharge_get_email: Get full template details
encharge_get_emails_by_contact: Get sent email history for a contact
encharge_create_email: Create new email template
encharge_update_email: Update existing template
encharge_update_email_status: Activate/deactivate templates
encharge_send_email: Send email to contact immediately
encharge_send_batch_email: Send to multiple contacts (up to 100)
encharge_get_email_automations: List automations using email template
encharge_delete_email: Delete unused email template
encharge_get_email_automations firstencharge_create_email for each:
encharge_create_email
name: "Welcome - Day 0"
subject: "Welcome to {{companyName}}!"
htmlBody: "<html>Dear {{firstName}},...</html>"
For real-time alerts (order confirmation, password reset, etc.):
1. Create template with variables: encharge_create_email
Variables: {{orderId}}, {{amount}}, {{customerName}}
2. When event occurs, send email:
encharge_send_email
emailId: "template-123"
emailAddress: "[email protected]"
variables: {"orderId": "ORD-456", "amount": "$99", "customerName": "John"}
3. Monitor delivery in contact history
encharge_get_emailsencharge_get_email_automationsencharge_delete_email (safe to remove)encharge_get_email template-idencharge_update_email1. Export contacts from segment
2. Prepare variables for personalization:
[{email: "[email protected]", firstName: "Alice", plan: "Pro"},
{email: "[email protected]", firstName: "Bob", plan: "Basic"}]
3. Use encharge_send_batch_email:
emailId: "onboarding-template-123"
recipients: [array above]
4. Verify sends in contact records
Common variables you can use in templates:
| Variable | Value |
|---|---|
| {{email}} | Contact email address |
| {{firstName}} | Contact first name |
| {{lastName}} | Contact last name |
| {{phone}} | Contact phone number |
| {{customField}} | Custom field value (use field ID) |
| {{tagList}} | Comma-separated tags |
| {{createdAt}} | Contact creation date |
| {{lastActivityDate}} | Last interaction date |
Add custom variables in email creation for dynamic content.
When managing multiple Encharge accounts:
/encharge:emails list --account account-a
/encharge:emails list --account account-b
# Compare templates across accounts
# Identify common templates for sync
Strategy: Create email template library in primary account, replicate to others.
| Issue | Solution |
|---|---|
| "Template not found" | Verify template ID, check account |
| "Invalid email address" | Validate recipient email format |
| "Rate limit exceeded" | Use batch API, implement exponential backoff |
| "Variable not found in template" | Check variable syntax {{varName}} |
| "Email bounced" | Check contact's unsubscribe/archive status |
| "High spam rate" | Review content, check authentication (SPF/DKIM) |
/encharge:people — Manage recipients/encharge:tags — Segment audiences/encharge:segments — Create dynamic email listsFiles this command reads when invoked
What the command file sets; muted values are Claude Code's defaults
7-day visitors to each command page
npx claudepluginhub savethepolarbears/agenthaus-marketplace --plugin encharge5 commands in this plugin
/peoplePeople ManagementManage Encharge contacts — list, get, export, import people with advanced filtering, bulk operations, and lifecycle management./segmentsSegment ManagementWork with Encharge segments — list segments, get people within segments, create dynamic audiences based on filters./statusAccount Status & Health CheckCheck Encharge API connectivity, account info, credit usage, and configured accounts. Diagnose integration issues.