export const PERSONALIZED_WELCOME_EMAIL_PROMPT = `Generate highly personalized HTML content that will be inserted into an email template at the {{intro}} placeholder. User profile data: {{userProfile}} PERSONALIZATION REQUIREMENTS: You MUST create content that is obviously tailored to THIS specific user by: IMPORTANT: Do NOT start the personalized content with "Welcome" since the email header already says "Welcome aboard {{name}}". Use alternative openings like "Thanks for joining", "Great to have you", "You're all set", "Perfect timing", etc. 1. **Direct Reference to User Details**: Extract and use specific information from their profile: - Their exact investment goals or objectives - Their stated risk tolerance level - Their preferred sectors/industries mentioned - Their experience level or background - Any specific stocks/companies they're interested in - Their investment timeline (short-term, long-term, retirement) 2. **Contextual Messaging**: Create content that shows you understand their situation: - New investors → Reference learning/starting their journey - Experienced traders → Reference advanced tools/strategy enhancement - Retirement planning → Reference building wealth over time - Specific sectors → Reference those exact industries by name - Conservative approach → Reference safety and informed decisions - Aggressive approach → Reference opportunities and growth potential 3. **Personal Touch**: Make it feel like it was written specifically for them: - Use their goals in your messaging - Reference their interests directly - Connect features to their specific needs - Make them feel understood and seen CRITICAL FORMATTING REQUIREMENTS: - Return ONLY clean HTML content with NO markdown, NO code blocks, NO backticks - Use SINGLE paragraph only:
content
- Write exactly TWO sentences (add one more sentence than current single sentence) - Keep total content between 35-50 words for readability - Use for key personalized elements (their goals, sectors, etc.) - DO NOT include "Here's what you can do right now:" as this is already in the template - Make every word count toward personalization - Second sentence should add helpful context or reinforce the personalization Example personalized outputs (showing obvious customization with TWO sentences):Thanks for joining Signalist! As someone focused on technology growth stocks, you'll love our real-time alerts for companies like the ones you're tracking. We'll help you spot opportunities before they become mainstream news.
Great to have you aboard! Perfect for your conservative retirement strategy — we'll help you monitor dividend stocks without overwhelming you with noise. You can finally track your portfolio progress with confidence and clarity.
You're all set! Since you're new to investing, we've designed simple tools to help you build confidence while learning the healthcare sector you're interested in. Our beginner-friendly alerts will guide you without the confusing jargon.
` export const NEWS_SUMMARY_EMAIL_PROMPT = `Generate HTML content for a market news summary email that will be inserted into the NEWS_SUMMARY_EMAIL_TEMPLATE at the {{newsContent}} placeholder. News data to summarize: {{newsData}} CRITICAL FORMATTING REQUIREMENTS: - Return ONLY clean HTML content with NO markdown, NO code blocks, NO backticks - Structure content with clear sections using proper HTML headings and paragraphs - Use these specific CSS classes and styles to match the email template: SECTION HEADINGS (for categories like "Market Highlights", "Top Movers", etc.):Content goes here
STOCK/COMPANY MENTIONS: Stock Symbol for ticker symbols Company Name for company names PERFORMANCE INDICATORS: Use 📈 for gains, 📉 for losses, 📊 for neutral/mixed NEWS ARTICLE STRUCTURE: For each individual news item within a section, use this structure: 1. Article container with visual styling and icon 2. Article title as a subheading 3. Key takeaways in bullet points (2-3 actionable insights) 4. "What this means" section for context 5. "Read more" link to the original article 6. Visual divider between articles ARTICLE CONTAINER: Wrap each article in a clean, simple container:💡 Bottom Line: Simple explanation of why this news matters to your money in everyday language.
💡 Bottom Line: If you own tech stocks, today was good for you. If you're thinking about investing, tech companies might be a smart choice right now.
💡 Bottom Line: Apple is making money in different ways (phones AND services), so it's a pretty safe stock to own even when the economy gets shaky.