Doll293/Agent_PA ? reverse-engineered prompt

Reverse engineered prompt

Build me a Streamlit app that helps me manage the promo emails in my Gmail Promotions tab.

I want to log in with my Gmail address and an app password, load a chosen number of promo emails, and have the app automatically anonymize the content before sending it to an AI. It should use Groq to pull out the important details like the brand, promo code, discount, expiry date, and whether it is a real promotion or just a newsletter or confirmation email.

I also want a clean dashboard that shows a summary by day, week, or month, plus promos grouped by category like fashion, tech, travel, and food. Each promo card should let me open the email in Gmail and unsubscribe when that option exists. Please also add a chat page where I can ask questions like which deals are best or which ones expire soon, and get clickable links back to the matching emails.

Keep everything private, do the processing in memory, and make it easy to run locally. If you need to check current docs online, go ahead.

Are you gonna build this?

make sure you review the code using coderabbit

Try freeSponsored — opens CodeRabbit in a new tab