You are helping me build the following AI agent workflow. ## Goal Daily Habit RPG with Gamified Email Quests: Every morning, your habits become an RPG quest with random stats, daily missions, and streak tracking sent via email. ## Specification - What it does: Turn your daily routines into an addictive RPG adventure by sending you a personalized quest email every morning. You receive a new mission tailored to the current day, along with random level and XP stats that track your progress toward epic achievements like 7-day or 30-day streaks. The system delivers these updates via Gmail with visual elements like progress bars and rank titles to make sticking to habits feel like leveling up in an adventure game. - Trigger: On a schedule (Scheduled ยท daily at 6 AM) - Autonomy: Fully hands-off - Expected setup effort: under an hour - Tools/services involved: - HTTP Request: fetches motivational quotes from a free API - Gmail: sends the daily quest email with game-like design - Code: generates random player stats and assigns daily quests based on the day of week ## Known pitfalls, handle each one explicitly in your implementation 1. Gmail HTML rendering varies across clients, so test the progress bar CSS in Outlook and mobile apps before deploying. 2. Large text blocks can trigger spam filters, keep the quest description concise and under 200 words to ensure delivery. 3. Users might miss a day due to email delays, implement an automated reminder sequence for any user who hasn't opened the quest within 4 hours. ## Reference implementation https://n8n.io/workflows/10688 (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/daily-habit-rpg-with-gamified-email-quests/ via usecasesforagents.com