Email Campaigns
Create and send professional email campaigns to engage your community. Campaigns support HTML content, audience segmentation, and comprehensive analytics.Creating a Campaign
Campaigns are managed from CRM → Campaigns in the admin dashboard.Access Campaign Orchestrator
Click the Campaigns button in the CRM toolbar to open the campaign management interface.
Create New Campaign
Click + Nueva Campaña to start:
- Name: Internal campaign identifier
- Subject: Email subject line shown to recipients
- Content: HTML email body (use the HTML editor)
Configure Targeting
Choose recipient strategy:
- All: Send to all contacts in the CRM
- Subscribed: Only contacts with status
Subscribed - List: Target a specific contact list/segment
Test Campaign
Before sending to your audience:
- Enter a test email address
- Click Enviar prueba
- Review the email in your inbox
Testing.Campaign States
| Status | Description |
|---|---|
Draft | Campaign is being created, not sent |
Testing | Test email has been sent |
Scheduled | Queued for future delivery |
Sent | Campaign has been dispatched |
HTML Email Content
The content field supports full HTML:Editor Mode vs Preview
Toggle between:- Editor HTML: Raw HTML input
- Vista Previa: Rendered preview
Campaign Analytics
Once sent, view metrics in the campaign card:- Sent: Total emails delivered
- Opened: Contacts who opened the email
- Clicked: Contacts who clicked links
- Bounced: Failed deliveries
EmailLog system (see admin/AdminViews.tsx:lines 288-298).
Email Queue System
Campaigns are processed through a rate-limited queue to comply with SMTP provider limits.The queue processor runs every 30 seconds and respects the
MAX_EMAILS_PER_HOUR setting. See SMTP Configuration for details.Queue Status
Monitor queue health from the CRM dashboard:Campaign Data Structure
Fromtypes.ts:lines 358-377:
Best Practices
Subject Lines
Keep subject lines under 50 characters for mobile compatibility.
Test Before Sending
Always send test emails to verify formatting and links.
Segment Your Audience
Use lists and tags to target relevant subscribers.
Monitor Metrics
Track open rates to improve future campaigns.
Troubleshooting
Campaign Stuck in Queue
Check queue status:- If
sentCountThisHourequalslimit, wait for the hourly reset - If
pendingis high, verify SMTP configuration
High Bounce Rate
Bounces are logged with error messages inEmailLog. Common causes:
- Invalid email addresses
- SMTP authentication failures
- Recipient server rejection
Metrics Not Tracking
Open/click tracking requires:- HTML content (not plain text)
- Valid recipient engagement
- EmailLog status updates to
OpenedorClicked
Related Documentation
- Automation Workflows - Trigger campaigns automatically
- SMTP Configuration - Email server setup
- CRM Contacts - Managing your contact database