kaymen99/langgraph-email-automation ? reverse-engineered prompt

Reverse engineered prompt

Build me a Python app that helps automate customer support emails using AI agents.

I want it to watch a Gmail inbox, sort incoming messages into things like complaints, product questions, feedback, or unrelated mail, then ignore the junk and draft helpful replies for the rest. If the email asks about a product or service, it should look up answers from my company info and use that to write a more accurate response. It should also check the draft for quality, tone, and formatting before anything gets sent.

Please make it something I can run locally first, and also expose it as an API with a simple docs page so I can test the workflow. Use environment variables for the Gmail and AI keys, and let me add my own support documents so the system can build its own knowledge base. If you need to look up current docs online, go ahead and do that.

Are you gonna build this?

make sure you review the code using coderabbit

Try freeSponsored — opens CodeRabbit in a new tab