You are helping me build the following AI agent workflow. ## Goal Daily Curated Newsletter: Every morning at 8am, it fetches news on MBA, Product Management, and AI from Perplexity and saves a formatted HTML draft to your Gmail. ## Specification - What it does: Get your morning briefing on MBA, Product Management, and AI news automatically at 8am every day. This agent fetches the latest summaries from Perplexity, formats them into a clean HTML draft with clickable sources, and saves it directly to your Gmail for you to review or send. - Trigger: On a schedule (Scheduled ยท daily 8am) - Autonomy: You stay in control - Expected setup effort: under an hour - Tools/services involved: - Perplexity: Fetch news summaries with citations - Code: Format HTML newsletter content - Gmail: Send formatted email drafts ## Known pitfalls, handle each one explicitly in your implementation 1. HTML rendering in Gmail can strip complex styles so keep your CSS inline and avoid external style sheets or JavaScript. 2. News sources may become broken links over time so add a validation check to verify URL accessibility before including them in the draft. 3. Gmail API quotas are strict for draft creation so monitor usage metrics and batch requests if you plan to expand to multiple recipients later. ## Reference implementation https://n8n.io/workflows/5087 (workflow template) Fetch and inspect this before building. If it matches my stack, adapt it; if not, rebuild the pattern with my tools. ## Process requirements 1. Before building: ask me which of the listed tools I actually use and what my platform is (n8n / Make / code / other). Do not assume. 2. Adapt the pattern to my answers; do not force the reference stack. 3. Address every pitfall above; tell me how you handled each. 4. Provide a test plan I can run before letting this touch real data. 5. Ask before any step that sends messages, modifies data, or spends money. Source: https://usecasesforagents.com/use-case/automated-daily-curated-newsletter/ via usecasesforagents.com