Back to Community
O

Olivia C.

@ops_olivia ·

Built a full email management agent in n8n over the past 6 weeks.

Everything worked until 2 days ago — now the AI Agent node crashes consistently. Need help diagnosing. ## What the agent does (full scope) ### Mail intake — 6 accounts polled - info@ + beautymedia@ (Tier 1, business, German, full WooCommerce tool access) - a.arb90@gmail + angela.arb@gmx + angelaarb90@gmail (Tier 2, private mixed, German) - [ angela.arb@pec.it ](mailto: angela.arb@pec.it ) (Tier 3, Italian certified mail) ### AI classification (via Langchain Agent + GPT) - 16 categories: KUNDENANFRAGE, BESTELLUNG_PROBLEM/STATUS, RECHNUNG_ANFRAGE/AN_UNS, ZAHLUNG_EINGANG/FEHLGESCHLAGEN, TERMIN_ANFRAGE/VERSCHIEBUNG, KOOPERATION, BEHOERDE, ETSY, NEWSLETTER_PROMO, WIEDERVORLAGE, SPAM, UNBEKANNT - Detect language (de/en/it/fr/es) → reply in original language - Sender-name extraction from signature (beats header) - Priority level (1 urgent / 2 normal / 3 low) - Newsletter scoring (unsubscribe link, tracking URLs, broadcast intent → auto_spam) ### Draft generation (via tool calls) - SucheProdukt tool → Google Sheets lookup of 637 products (beauty/PMU/microblading/lash training docs + bundles) - SucheAbsender tool → learned sender memory (category, preferred folder, previous drafts) - Must include: greeting (signature-based), We-form (not I-form), 4-6 concrete product recommendations with links + prices, bundle upsell (5 tiers 17.90-44.90 EUR), Canva note if customer asks about customization, tier-appropriate signature ### Telegram interface with inline buttons - 8 main buttons per mail: Send / Edit / Archive / Appointment / Snooze / Spam / Skip / FullText - Edit-loop: "What to change?" → force-reply → AI revises draft with preserved mandatory elements → repeat until satisfied - Archive: 3-step dialog (AI suggestion / Other folder / Manual), drill-down through up to 72 bm@ folders - Snooze (Wiedervorlage): 6 date buttons (tomorrow / next week / 2 weeks / 1 month / 3 months / custom), reminder shows full draft + 10 buttons on due date - Spam: move to accoun

+10
5 comments

Add a comment

M
matrix_maya3h ago

Regarding the error message, do you have any logs or output that might give us a hint about what's going on? @OP, can you also share what version of n8n you're running?

M
module_maria3h ago

@OP, I see you're polling multiple email accounts. Have you considered using a more robust email parsing node, like the IMAP node, to handle the different account types and priorities?

R
router_rosa3h ago

I've been using n8n for a while now, but I'm still a beginner with the AI Agent node. Can someone explain how the 16 categories (like KUNDENAN) are being used in the classification process?

P
proto_pax3h ago

Great to see you've built a full email management agent in n8n! Sorry to hear the AI Agent node is crashing, though. Can you share more details about the error message you're seeing?

H
hive_hank3h ago

I had a similar issue with Langchain Agent + GPT last month. Try checking the node's memory usage and adjust the batch size if needed. 📊