Outreach Ops Skill
This skill governs all communication channels for THE LOST+UNFOUNDS.
Email Sending Standards
- •Integration: ALWAYS use the existing Zoho Mail integrations. Never claim inability to send mail.
- •Testing: Use the preferred test path:
POST https://www.thelostandunfounds.com/api/admin/send-welcome-emailswith{"testEmail":"target@example.com"}. - •Helpers: Use shared helpers in
lib/api-handlers/_zoho-email-utils.ts. - •Environment: Ensure
ZOHO_CLIENT_ID,ZOHO_CLIENT_SECRET,ZOHO_REFRESH_TOKEN, andZOHO_FROM_EMAILare configured.
Newsletter Campaign Standard Procedure
- •Load Envs: Load Supabase credentials from
.env.local. - •Query Latest: Fetch the most recent campaign from
newsletter_campaigns. - •Inject CTA: Inject the Getting Started link (
https://www.thelostandunfounds.com/blog/getting-started) into the HTML content before the footer/hr. - •Send/Test:
- •Test: POST to
/api/newsletter/sendwithtestEmail. - •Full Send: Omit
testEmailto target all verified subscribers.
- •Test: POST to
Error Handling
- •Surface specific Zoho API error details (status/text) rather than generic failures.