Build a private mail app around Grok Bot's own inbox
Viktor Kondas, a vibe coder from Budapest, gave Grok Bot its own email address and built a private app around it. The app runs on Next.js on Vercel, stores mail in Neon Postgres and sits behind a Clerk login that only lets him in.
Done with Grok BotModerate
What was done
Viktor Kondas, a vibe coder from Budapest, gave Grok Bot its own email address and built a private app around it. The app runs on Next.js on Vercel, stores mail in Neon Postgres and sits behind a Clerk login that only lets him in. A Grok Bot routine pulls new mail into the database every hour, and anything going out needs him to press Send. His first deploy returned a 500 error.
How to do it
- Paste the prompt into the tool, and replace the text in brackets with your own.
- Read the answer through. Do not send, delete or publish anything until you have seen it yourself.
- Check the original before you trust a figure, a name or a date.
Try it with Grok Bot
Build a simple mail app for [the agent's own address] with Next.js, a database for messages and a login only for me. Pull new mail into the database [every hour]. Anything going out stays as a draft until I approve it. Do not send anything on your own. Show me the folder structure and the approval flow before anything is sent. You are done when I can read, search and reply to mail from the app.
Replace text in brackets with your own.
Done when. You can read, search and reply to mail from the app.
Dev.to ·